Answer = use GroupingField.groupingFunction :-)

Does anyone know what the groupingObjectFunction does? What is the returned
Object for?


Thanks,
Nick



2009/8/26 Nick Middleweek <n...@middleweek.co.uk>

> Hello,
>
> I've got an advanced datagrid with 5 columns, The number_Group column has
> data like this...
>
> 1-10
> 1-10
> 11-20
> 11-20
> 11-20
> 21-30
> 21-30
> 21-30
> 41-50
> 101-110
>
>
> When I apply Grouping, it works as expected but the 101-110 group is
> displayed before the 11-20 group.
>
> I've tried to set groupingField.numeric = true but that screws it up even
> more... because 11-20 isn't a number I'm guessing.
>
> Does anyone know a way around this? I could change the number_Group column
> to this...
>
> 1
> 1
> 11
> 11
> 21
> 41
> 101
>
> and groupingField.numeric = true should work but I need the Grouping
> display to show 1-10, 11-20. Perhaps I can intercept this and modify it?
>
>
> Thanks,
> Nick
>
>

Reply via email to