This is a migrated thread and some comments may be shown as answers.

Set max columns grouping allow

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 14 Jan 2016, 05:31 PM

Hi All,

 

Is there a way to set the number of columns grouping allow in a grid (say 4)?  Example will be great!

TIA

 

1 Answer, 1 is accepted

Sort by
0
Steve
Top achievements
Rank 1
answered on 15 Jan 2016, 03:58 PM

I found a alternative solution that works for me.

        var dataSource = $("#grid").data("kendoGrid").dataSource;
        var groups = dataSource.group();
        return maxOut = (groups && groups.length > 4);

Tags
Grid
Asked by
Steve
Top achievements
Rank 1
Answers by
Steve
Top achievements
Rank 1
Share this question
or