PDA

View Full Version : [CLOSED] Gridpanel header checkbox hide



speedstepmem3
Nov 19, 2008, 7:18 AM
hi,

i have use CheckboxSelectionModel in gridpanel, and i set the CheckboxSelectionModel property for SingleSelect="true". how can i hide the checkbox in gridpanel header. help me.

geoffrey.mcgill
Nov 19, 2008, 7:40 AM
Hi speedstep,

Please set HideCheckAll="true" on the SelectionModel.


I've added some logic to the CheckboxSelectionModel that will automatically set HideCheckAll="true" if SingleSelect="true".


Hope this helps.

speedstepmem4
Nov 19, 2008, 8:10 AM
hi,

thank you for your reply. but still not working. i am using code,




<SelectionModel >


<ext:CheckboxSelectionModel HideCheckAll="true" SingleSelect="true" ID="CheckboxSelectionModel1" runat="server">


<</ext:CheckboxSelectionModel>





</SelectionModel>




how can i remove the checkbox in gridpanel header or disable the header.

geoffrey.mcgill
Nov 19, 2008, 8:17 AM
Hi speedstep,

I pasted your code sample into a GridPanel example and it correctly removed the "check all" checkbox from the GridPanel header. 


Please ensure you are using the latest project source-code from svn.

speedstepmem3
Nov 19, 2008, 8:23 AM
we r permium member..how can i get svn source

thank u

geoffrey.mcgill
Nov 19, 2008, 8:41 AM
Hi speedstep,

The SVN username/password was just sent to Suren.


Once you receive the username/password, the following forum post should help get you connected to SVN, see http://forums.ext.net/showthread.php?postid=1602.aspx