Announcement

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

    checkbox in listgrid

    I have a listgrid for which i have used
    selectionAppearance:"checkbox",


    in addition to the grid records, it shows the checkbox in grid header as well

    Now I need to implement this header checkbox work like selectAll/unselectAll.

    in other words, all listGridRecords shouldbe checked/unchecked on check/uncheck of the listgrid header checkbox.

    please help me how to do this.

    #2
    The default behavior of the header checkbox is to select / deselect the entire list.
    However it can only do this if the entire data-set is loaded on the client. If you're working with a paged ResultSet, this checkbox will be inoperative and a prompt (tooltip) will be shown to indicate why.

    If you're not working with a huge data-set you could change the dataFetchMode of the listGrid to retrieve all records to resolve this.

    Comment


      #3
      thanks. it worked for me.

      Comment

      Working...
      X