11 Answers, 1 is accepted
0
Hello Mike,
Note that when the grid has frozen columns and grouped, the first frozen column is the expand/collapse column. Therefore, to preserve the same data columns frozen functionality, you can increase the FrozenColumnsCount property. You can try the following code:
Give it a try and let me know if this works for you.
All the best,
Iana
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Note that when the grid has frozen columns and grouped, the first frozen column is the expand/collapse column. Therefore, to preserve the same data columns frozen functionality, you can increase the FrozenColumnsCount property. You can try the following code:
protected override void RaisePostBackEvent(IPostBackEventHandler sourceControl, string eventArgument) |
{ |
base.RaisePostBackEvent(sourceControl, eventArgument); |
Label1.Text = eventArgument; |
if (eventArgument.Contains("GroupByColumn")) |
{ |
RadGrid1.ClientSettings.Scrolling.FrozenColumnsCount++; |
} |
if (eventArgument.Contains("UnGroupByExpression")) |
{ |
RadGrid1.ClientSettings.Scrolling.FrozenColumnsCount--; |
} |
} |
Give it a try and let me know if this works for you.
All the best,
Iana
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 13 Oct 2008, 01:06 PM
There are 20+ columns in the grid and when "FrozenColumnsCount" is added the last 5 columns are chopped off when I scroll to the right.
I also tried your solution, thanks, but there was no change.
I also tried your solution, thanks, but there was no change.
0
Hi Mike,
Please find attached a sample project and try it on your end. Let me know if it works as desired and what differs in your case.
Best wishes,
Iana
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Please find attached a sample project and try it on your end. Let me know if it works as desired and what differs in your case.
Best wishes,
Iana
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 17 Oct 2008, 03:49 PM
Iana,
I tried your changes, unforunately the last five columns are still not visible when I use grouping.
:(
I tried your changes, unforunately the last five columns are still not visible when I use grouping.
:(
0
Hi Mike,
Could you please send us a sample where we could replicate the described behavior in order to debug it locally and get to the source of the issue? Providing a live Url might also be of help.
Regards,
Iana
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Could you please send us a sample where we could replicate the described behavior in order to debug it locally and get to the source of the issue? Providing a live Url might also be of help.
Regards,
Iana
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 20 Oct 2008, 05:19 PM
This is an internal site and if you want me to send you source code send me an email and I will reply with some attached for your review. I don't feel comfortable posting it on a forum.
0
Vladimir
Top achievements
Rank 1
answered on 20 Oct 2008, 06:42 PM
Hi Mike,
You can open support ticket where attachments are allowed.
Vlad
You can open support ticket where attachments are allowed.
Vlad
0
Mike
Top achievements
Rank 1
answered on 30 Oct 2008, 02:15 PM
Vlad,
I just created the support ticket, thank you!
Mike
I just created the support ticket, thank you!
Mike
0
Stephen Braich
Top achievements
Rank 1
answered on 04 Aug 2009, 06:40 PM
I am having a similar problem with losing columns. I don't have anything extravagant like grouping or anthing like that. I am just losing that last column.
0
Hello Stephen,
Can you please check whether setting MasterTableView -> TableLayout = Fixed for the grid and specifying fixed widths for the grid columns as presented on the relevant demo alleviates the abnormality?
Kind regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Can you please check whether setting MasterTableView -> TableLayout = Fixed for the grid and specifying fixed widths for the grid columns as presented on the relevant demo alleviates the abnormality?
Kind regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
LeBear
Top achievements
Rank 1
answered on 25 Aug 2009, 10:33 PM
I am experiencing this same problem. I have the table layout to fixed, but that didn't seem to help.
I got around this by adding a final column that doesn't hold anything. At least the users can see all of their data, and they probably don't really notice the final empty column. Its a workaround, but I would prefer not to have to do this.
I got around this by adding a final column that doesn't hold anything. At least the users can see all of their data, and they probably don't really notice the final empty column. Its a workaround, but I would prefer not to have to do this.