Here is a little one (v22.214.171.124):
How do I change the text that displays on the GridGroupingControl''s GroupDropArea: I''ve tried:
None of the seem to work as it always displays the name of the DataTable that is it''s datasource.
ADAdministrator Syncfusion Team November 17, 2004 02:22 PM
The droparea is a little grid. Right now to change this text, you have to handle that grid''s PrepareViewStyleInfo event. Here is a forum thread with a sample.
KHKenton HensleyNovember 17, 2004 05:52 PM
Thank you, Clay. All fixed.
KHKenton HensleyNovember 17, 2004 08:11 PM
Another note and possible problem.
A little confusion in my original post - I needed to change both the caption, which defaults to the text "Drag a column ..." and the text to the left of the caption.
The text to the left of the caption is what defaults to displaying the table name ("MyTable" in your example code). This is set by the value in the TableDescriptor.Name property. However, on three out of four grids in my project, despite having this set to the desired text in the designer''s property editor, when it compiles and runs it does not display the name specified; it returns to the datatable name.
I''ve checked the designer generated code and the property is set correctly there. I had to reset the property during form Load to get it to display the text I want. I cannot yet explain why one of the grids does display it correctly without needing to reset the value.
ADAdministrator Syncfusion Team November 18, 2004 02:46 AM
This may have to do with the order events are being subscribed to. You might also try calling Model.ResetVolatileData on the droparea grid to see if that affects things.
If you can post a little sample showing the problem, we can try to look to spot teh problem here.