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.

rowheader shows drop down arrow?

Thread ID:

Created:

Updated:

Platform:

Replies:

77590 Nov 7,2008 12:54 PM Nov 11,2008 08:07 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 7, 2008 12:54 PM

I have a databound grid with a Filter bar and my grid shows the 0,0 cell with a little drop down arrow. Why? and how do I remove it?



dd_109dc022.zip

Rajadurai C [Syncfusion]
Replied On November 11, 2008 08:07 AM

Hi Salvatore,

Thanks for your interest in Syncfusion products.

The dropdown arrow appears in 0,0 cell in grid because of setting the celltype of header as "ComboBox" in the method "SetTableIntoGridAndWireFilterBar(DataTable dt)"

Here is the codesnippet responsible for this issue.


GridStyleInfo style = new GridStyleInfo();
style.ModifyStyle(_gridFeeChanges.BaseStylesMap["Header"].StyleInfo,StyleModifyType.Copy);

//set cell type of the style object to ComboBox.

style.CellType = "ComboBox";
style.BaseStyle = "Standard";
........
_gridFeeChanges.BaseStylesMap["Header"].StyleInfo = style;


The 0,0 cell in grid is of header type by default.

Regards,
Rajadurai


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.

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.

;