We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Caption for GridGroupingControl.GroupDropPanel

Thread ID:

Created:

Updated:

Platform:

Replies:

21703 Nov 17,2004 06:21 PM UTC Nov 18,2004 07:46 AM UTC WinForms 4
loading
Tags: GridControl
Kenton Hensley
Asked On November 17, 2004 06:21 PM UTC

Here is a little one (v2.1.0.9): How do I change the text that displays on the GridGroupingControl''s GroupDropArea: I''ve tried: GroupDropArea.Text GroupDropPanel.Text TableDescriptor.Name None of the seem to work as it always displays the name of the DataTable that is it''s datasource. Thanks, Kenton

Administrator [Syncfusion]
Replied On November 17, 2004 07:22 PM UTC

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. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=19661

Kenton Hensley
Replied On November 17, 2004 10:52 PM UTC

Thank you, Clay. All fixed.

Kenton Hensley
Replied On November 18, 2004 01:11 AM UTC

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.

Administrator [Syncfusion]
Replied On November 18, 2004 07:46 AM UTC

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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;