AdvStringGrid : groupind with Hidden columns AND hidden rows

Hi

I had already notice when we use grouping function with hidden column we have to follow a certain order
Grouping :
1 : Grouping
2 : Hide column

and for ungrouping, the perform is :
1 : unhide column
2 : ungroup

My question is what happens if in a grouping procedure, if there is hidden columns AND rows, which order we have to follow ? for instance
1 : Grouping
2 : Hide columns
3 : hide rows

regards
olivier

If you do not want to bother about column indexing when hiding columns, call grid.SuppressColumn() instead of grid.HideColumn()
Same for rows with grid.SuppressRow()

Hi Bruno
Unfortunately not, the behavior is not as I wish. No other idea else I have to find an other solution (much more complicated :frowning_face: )

regards

What exactly is not as you wish. Suppress* functions are the same as Hide* functions with the difference it doesn't affect cell indexing.

Hi

In fact, this subject is a part of a post I send few days ago (by direct mail) named :
TAdvColumnGrid : TAdvColumnGrid : Filtering and grouping problem

and the behavior is the same as using FilterType = ftHide or ftSuppress

So I have to find an other to obtain what I would like
regards
olivier