If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#53311 by PointsWell
Thu Feb 27, 2020 4:39 am
Is this https://demos.telerik.com/kendo-ui/grid/index something that can be achieved via JS magic or is it something that AIM needs to be updated to do?

The example that might not be obvious is that the column headers are draggable and reorderable that allows the end user to create group categories like this:
Screen Shot 2020-02-27 at 15.30.36.png
Screen Shot 2020-02-27 at 15.30.36.png (66.15 KiB) Viewed 4492 times


If it is a JS fiddle magic does anyone have an example they can share?

Thank you in advance.
#53312 by ACDC
Thu Feb 27, 2020 7:21 am
1000 + - This makes huge sense, being able to group data in the grid on the front end is big, users can make data more meaningful without having rely on the developer to hard code grouping.
#53313 by johntalbott
Thu Feb 27, 2020 8:17 am
Query Init Script
config.groupable: = true,
#53320 by PointsWell
Thu Feb 27, 2020 9:55 pm
johntalbott wrote:Query Init Script
config.groupable: = true,

Simples! Thanks John.

Is there a way to set the initial categories to make the grid load with a default grouping?
#53328 by chris29
Fri Feb 28, 2020 2:59 am
WOW!!

Fantastic thanks johntalbott

Only issue appears to be with numbers and dates, they are displayed as

grouping.png
grouping.png (13.52 KiB) Viewed 4409 times


Any ideas on how to fix this ?

Ideally this should just be a checkbox on the properties of the Query definition [Support, next update??]
#53330 by johntalbott
Fri Feb 28, 2020 5:06 am
PointsWell wrote:
johntalbott wrote:Query Init Script
config.groupable: = true,

Simples! Thanks John.

Is there a way to set the initial categories to make the grid load with a default grouping?


A single grouping column can be set up in the config tool. For more flexibility similar to the Kendo demo it can be done with js .

Who is online

Users browsing this forum: Google [Bot] and 10 guests