Hide the first CheckboxSelectionModel

Page 1 of 2 12 LastLast
  1. #1

    Hide the first CheckboxSelectionModel

    Hi,

    how can i hide the first CheckboxSelectionModel in GridPanel?

    Attached example.

    thx
    Attached Thumbnails Click image for larger version. 

Name:	selection.png 
Views:	75 
Size:	19.9 KB 
ID:	5268  
    Last edited by Elyfran Vaz; Dec 13, 2012 at 4:41 PM.
  2. #2
    Hello!

    Try to use the following attribute of CheckboxSelectionModel
    ShowHeaderCheckbox="false"
  3. #3
    Quote Originally Posted by Baidaly View Post
    Hello!

    Try to use the following attribute of CheckboxSelectionModel
    ShowHeaderCheckbox="false"

    Humm..

    But, how can i access this attribute in the gridPanel in client side?

    grid...?

    thx
  4. #4
    Quote Originally Posted by Elyfran Vaz View Post
    Humm..

    But, how can i access this attribute in the gridPanel in client side?

    grid...?

    thx
    You want to change it dynamically or when creating grid on client side?
  5. #5
    Quote Originally Posted by Baidaly View Post
    You want to change it dynamically or when creating grid on client side?
    I wont dynamically in client side.
  6. #6
    Can you say why do you want to do this because it's not obvious?
  7. #7
    Quote Originally Posted by Baidaly View Post
    Can you say why do you want to do this because it's not obvious?
    Hi,

    becouse in some situation i need enable/disable the checkbox of selection of the data in gridpanel. This is particular business rule.
    When i create the gridpanel this attribute will "false" and when i enable the button of the multiselection i ll set this attibut to "true" and when set disable the button of themultiseleticon i ll set to "false".

    do you have this solution in client side?
  8. #8
    I think the most easiest way to do this is using following script:

    Hide:
    App.Grid1.view.headerCt.items.items[0].el.hide()
    Show:
    App.Grid1.view.headerCt.items.items[0].el.show()
  9. #9
    Quote Originally Posted by Baidaly View Post
    I think the most easiest way to do this is using following script:

    Hide:
    App.Grid1.view.headerCt.items.items[0].el.hide()
    Show:
    App.Grid1.view.headerCt.items.items[0].el.show()
    Humm.. nice.

    I ll test and return with feedback.

    thank you very much and good job. ;D
  10. #10
    Quote Originally Posted by Baidaly View Post
    I think the most easiest way to do this is using following script:

    Hide:
    App.Grid1.view.headerCt.items.items[0].el.hide()
    Show:
    App.Grid1.view.headerCt.items.items[0].el.show()
    Hi, good morning.

    Work perfectly...

    thx again.
    Last edited by Elyfran Vaz; Dec 14, 2012 at 12:31 PM.
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Icon does not hide on item hide
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Nov 09, 2011, 7:13 PM
  2. [CLOSED] label.Hide() does not hide FieldLabel
    By alexp in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 12, 2010, 9:05 PM
  3. [CLOSED] CheckboxSelectionModel Checkbox hide
    By majestic in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 29, 2010, 2:14 PM
  4. [1.0] Checkboxselectionmodel hide/disable checkbox
    By SouthDeveloper in forum 1.x Help
    Replies: 1
    Last Post: Mar 22, 2010, 2:19 PM
  5. Replies: 1
    Last Post: Apr 23, 2009, 12:28 PM

Posting Permissions