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

[Solved] groupping two boolean column and then removing one column results into error

2 Answers 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amitkumar
Top achievements
Rank 1
Amitkumar asked on 29 Oct 2010, 08:05 AM
I have two boolean columns in grid mainly labeled as Internal and Main Internal Company

when i add both in group it works properly but when i try to remove any one of them from the group by clicking delete icon in group header both the group header items get removed but the grid still remains in grouped by the field which was not removed.

I have attached the screen shot showing the following sequence.

1. The page is loaded and grid is filled with data without any group
2. I have added Internal and Main Internal Company in group and grid shows them correctly.
3. I removed Internal from the grouping and now you can see that group header does not show default message of group header nor it has Main Internal company in it but grid is still grouped by Main Internal company

This does not happen if i have two string columns or one string one boolean columns in group.

Looking forward for your help and guidance.
Thanks in advance.

Amitkumar Dave

2 Answers, 1 is accepted

Sort by
0
Amitkumar
Top achievements
Rank 1
answered on 29 Oct 2010, 08:23 AM
Hi All,

I just figured out it is not the data type which is causing the problem. The problem is the column header 

I have One column named "Internal" and another "Main Internal Company" if i rename "Main Internal Company" to "Main Company"
grouping starts working properly but if i add word "internal" in any coulmn name and if i have both "internal" and another column as group removing the Internal column from group will result into removal of another item of group from the group header display though grid will still stay grouped by other field.

Do we have any fix for this trouble or we have to take care while choosing the header name to avoid a full column name being part of othr column name?

Thanks and advance
Amitkumar Dave
0
Rosen
Telerik team
answered on 29 Oct 2010, 08:41 AM
Hello Amitkumar,

I'm afraid that currently there is no fix available for the behavior you are observing, therefore please consider modifying column names.

All the best,
Rosen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Amitkumar
Top achievements
Rank 1
Answers by
Amitkumar
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or