Hi Blama
The issue was the number of records I was fetching. I had to change `groupByMaxRecords` to a higher number than default and then it started working.
Thank you.
Announcement
Collapse
No announcement yet.
X
-
-
Group on list grid field when some values are empty
Hi,
Im trying to group list grid field but records are not grouped when some values are empty. Is there a way to pull all empty values in a separate group while maintaining groups for other valid values. For eg., if values are 'A', '', 'B', '', 'B', 'A' then I want three groups: one group with all values 'A', another with all values 'B' and last group with all values ''.
I have implemented getGroupValue in my field like so:
Code:getGroupValue : function(value, record, field, fieldName, grid) { if(!value) { return 'empty value'; } return value; }
Thanks.Last edited by sjoshid; 4 Jun 2019, 11:53.Tags: None
Leave a comment: