Divelements Community
Customer discussion of all Divelements products

Group heading for empty cells

Latest post 07-03-2009 15:17 by Tim Dawson. 1 replies.
  • 06-29-2009 13:10

    Group heading for empty cells

    Hello. I'm new to SandGrid and have a question. Say a grid has grouping enabled and the user sorts by a column which contains some emtpy cells. These rows with the empty cells are then grouped together, and the heading of the group is empty. This is not so user-friendly. Outlook for example labels that group as "(none)". Is it possible to easily do the same in SandGrid w/o having to implement custom group heading drawing?

     

  • 07-03-2009 15:17 In reply to

    Re: Group heading for empty cells

    There are two solutions I can think of. You could derive from GridColumn and override the method that determines the group header text from a row. I can't remember its name, but it should be obvious. Or, you could group by a hidden column which differs from the first column by having (none) in those cells.

    Personally the first option would be my choice.

Page 1 of 1 (2 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems