Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Add select All check box in the column header for a boolean type listgridfield

    Hi,
    I want to add select all check box in the column header for a databound listgridfield

    setAlternateRecordStyles(true);
    setHoverWidth(200);
    setHoverHeight(20);
    setCanEdit(true);
    setEditEvent(ListGridEditEvent.CLICK);
    setEditByCell(true);

    ListGridField remRecAccepted = new ListGridField("remRecAccepted");
    remRecAccepted.setType(ListGridFieldType.BOOLEAN);
    remRecAccepted.setWidth("3%");

    I am able to get the check boxes in the Grid, but hw can I get the check box in the column header.

    Thanks in advance for any help.

    Thanks

    #2
    Hi,
    Can anyone please help me to find the solution for this. I am struggling to solve this for longtime.

    Thanks

    Comment


      #3
      you can do setSelectionAppearance.

      ex:

      listgrid.setSelectionAppearance(SelectionAppearance.CHECKBOX)

      Comment

      Working...
      X