2 questions:
1) I am trying to get a count of the records in a ListGrid that is grouped. I am probably using the wrong method (listGrid.getDataAsRecordList().getLength()), however - it appears to me that this includes groups as a 'record'. I want the count of actual records.
2) I am also using listGrid.setShowRowNumbers(true), which I would assume to number the records consecutively, however the records are numbered as if groups are also records.
I attached a test case which I believe shows what I mean... is there a different way to go about this? Thanks.
1) I am trying to get a count of the records in a ListGrid that is grouped. I am probably using the wrong method (listGrid.getDataAsRecordList().getLength()), however - it appears to me that this includes groups as a 'record'. I want the count of actual records.
2) I am also using listGrid.setShowRowNumbers(true), which I would assume to number the records consecutively, however the records are numbered as if groups are also records.
I attached a test case which I believe shows what I mean... is there a different way to go about this? Thanks.
Comment