Announcement

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

    listgrid grouping without using datasource?

    Hi!

    I have a listgrid and I have a recordlist set to the listgrid as data.
    It works fine.
    However, Im not able to group the list by a field. If I use the listgrid.setGroupByField() function
    or If i try to use the groupBy() function I get an exception says:

    can't getSelectedState without a DataSource with a primary key field set

    I guess thats because I dont use a Datasource.

    So my question is: is there a way to group a listgrid without using datasource?

    #2
    *bump*

    anyone?

    Comment


      #3
      You can create a local Datasource very easy and have all the benefits of data-binding controls (such as the grouping feature)

      Check the documentation for all available sources of data to feed a datasource.

      Comment

      Working...
      X