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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

need to change text in drop area

Thread ID:

Created:

Updated:

Platform:

Replies:

50634 Oct 16,2006 01:25 PM UTC Oct 16,2006 06:42 PM UTC Windows Forms 1
loading
Tags: Grouping
Hans Phillip
Asked On October 16, 2006 01:25 PM UTC

i am using Grid grouping control. in the Drop area where you drag the col. header the default is the Table name. I need to change the text

-hans

Administrator [Syncfusion]
Replied On October 16, 2006 06:42 PM UTC

Hi Phillip,

Thanks for your interest in our products.

This can be achieved by handling the PrepareViewStyleInfo event of the GroupDropArea. In the event, the respective column and row index can be checked and accordingly its name can be changed. The following is the code snippet
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//groupDropArea.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(groupDropArea_PrepareViewStyleInfo);
private void groupDropArea_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e)
{
if (e.ColIndex == 2 && e.RowIndex == 2)
{
-------
------------
e.Style.Text = "Syncfusion";
}
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Sample : GroupDropFormatting

KB article : GroupDropFormatting_KB

Have a nice time.

Best regards,
Madhan

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

;