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. Image for the cookie policy date
close icon

rowheader shows drop down arrow?

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

1 Reply

RC Rajadurai C Syncfusion Team November 11, 2008 01:07 PM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon