ms-data-grid 0.0.75 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3668,6 +3668,10 @@ class DataGridComponent {
|
|
|
3668
3668
|
groupKey = keyValue ? keyValue : "_Blank";
|
|
3669
3669
|
;
|
|
3670
3670
|
}
|
|
3671
|
+
if (typeof keyValue === 'string' && !isNaN(Date.parse(keyValue))) {
|
|
3672
|
+
const dateObj = new Date(keyValue);
|
|
3673
|
+
groupKey = this.commonSevice.formatDateValue(dateObj, this.dateFormat || 'MM/dd/yyyy');
|
|
3674
|
+
}
|
|
3671
3675
|
if (!groupedMap.has(groupKey))
|
|
3672
3676
|
groupedMap.set(groupKey, []);
|
|
3673
3677
|
groupedMap.get(groupKey).push(item);
|