To hide or show items and labels with jQuery use this syntax:
Update 06.02.2011:
Peter mentioned right that this example only works when your item label is set to above!
Short way:
@Jaydip
"I want to remove those hidden item space. Is it possible by using your method?" - No
I guess you would need to move these hidden items to another place and move them back when they are not hidden. With jQuery you could use appendTo(). I don't know if it works or not? But you would need ID's for your regions.
$('#P1_NAME').hide();
$('#P1_NAME').parent().hide();
$('#P1_COMPANY').show();
$('#P1_COMPANY').parent().show();
Update 06.02.2011:
Peter mentioned right that this example only works when your item label is set to above!
Short way:
$('#P1_NAME').hide().parent().hide();
$('#P1_COMPANY').show().parent().show();
@Jaydip
"I want to remove those hidden item space. Is it possible by using your method?" - No
I guess you would need to move these hidden items to another place and move them back when they are not hidden. With jQuery you could use appendTo(). I don't know if it works or not? But you would need ID's for your regions.