Hi,
we're currently using v10.0p_2014-11-16 and have detected an issue while grouping and sorting multiple entries in a listgrid. The issues exists in tested latest builds of firefox, chrome and IE11.
We are displaying multiple items and are grouping by a date-field. And the grouped items we want to have sorted from not to the future. By sorting for the date-Field there should be a other sorting beginning with 17.11.2014 to the end 23.11.2014. There seems to be another sorting, like the english sunday, monday ... but this is not defined in the given definition (and not needed for other languages ;-) ).
For a faster impression i have changed the group-title.
thaks in advance
we're currently using v10.0p_2014-11-16 and have detected an issue while grouping and sorting multiple entries in a listgrid. The issues exists in tested latest builds of firefox, chrome and IE11.
We are displaying multiple items and are grouping by a date-field. And the grouped items we want to have sorted from not to the future. By sorting for the date-Field there should be a other sorting beginning with 17.11.2014 to the end 23.11.2014. There seems to be another sorting, like the english sunday, monday ... but this is not defined in the given definition (and not needed for other languages ;-) ).
For a faster impression i have changed the group-title.
Code:
isc.ListGrid.create({ "leaveScrollbarGap" : true, "sortField" : "dateField", "sortDirection" : "ascending", "selectionProperty" : "isSelected", "groupByField" : "dateField", "autodraw" : true, "groupStartOpen" : "all", "width" : "100%", "height" : "100%", "fields" : [{ "name" : "nameField", "title" : "Name", "type" : "text", }, { "name" : "dateField", "title" : "Date", "type" : "date", "getGroupTitle" : function (groupValue, groupNode, field, fieldName, grid) { return groupNode.groupMembers[0].groupTitle; } }, ], "data" : [{ "dateField" : new Date(2014, 10, 18), "nameField" : "q", "groupTitle" : "18.11.14 - Tuesday" }, { "dateField" : new Date(2014, 10, 23), "nameField" : "q", "groupTitle" : "23.11.14 - Sunday" }, { "dateField" : new Date(2014, 10, 20), "nameField" : "q", "groupTitle" : "20.11.14 - Thursday" }, { "dateField" : new Date(2014, 10, 17), "nameField" : "q", "groupTitle" : "17.11.14 - Monday" }, { "dateField" : new Date(2014, 10, 22), "nameField" : "q", "groupTitle" : "22.11.14 - Saturday" }, { "dateField" : new Date(2014, 10, 19), "nameField" : "q", "groupTitle" : "19.11.14 - Wednesday" }, { "dateField" : new Date(2014, 10, 21), "nameField" : "q", "groupTitle" : "21.11.14 - Friday" } ] })
Comment