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

down arrow problem

Thread ID:





18507 Sep 1,2004 03:02 PM UTC Sep 1,2004 04:56 PM UTC WinForms 3
Tags: GridControl
Asked On September 1, 2004 03:02 PM UTC

Hi Clay, Somehow the down arrow stoped working on my databound grid, which has gridDataBoundGrid1.ListBoxSelectionMode = SelectionMode.One property set. After I set the datasource and using gridDataBoundGrid1.Refresh(); gridDataBoundGrid1.EndUpdate(); gridDataBoundGrid1.Focus(); the first row is highlighted and it has triangle, but clicking down arrow doesn''t change anything. Only when I click on the next row, it is selected and highlighted but arrow still doesn''t work. Which property setting could affect that way on my grid because just a couple of days ago the arrow worked? Thanks in advance

Administrator [Syncfusion]
Replied On September 1, 2004 03:27 PM UTC

Try this code to see if it makes things work. gridDataBoundGrid1.EndUpdate(); gridDataBoundGrid1.Focus(); gridDataBoundGrid1.Refresh(); Or you could try this, gridDataBoundGrid1.EndUpdate(); gridDataBoundGrid1.CurrentCell.MoveTo(-1, -1); gridDataBoundGrid1.Focus(); gridDataBoundGrid1.Refresh(); There are style properties like style.Enabled and style.Clickable that might make a cell not be clickable, so you should check if you have set any of these proeprties.

Replied On September 1, 2004 03:52 PM UTC

I have found that in InitializeComponent for gridDataBoundGrid1 there are four Styles set such as from gridBaseStyle1 to gridBaseStyle4 which I did not set. Why did they appear? And two of them have property gridBaseStyle2.StyleInfo.Enabled = false. But even if I commented that line, arrow still disaled. I do not know if I can delete all those styles, since I did not set them? Thanks

Administrator [Syncfusion]
Replied On September 1, 2004 04:56 PM UTC

gridBaseStyle would likely have been created by editing the BaseStyleMap collection from the designer. Exactly how are they being used? The grid would normally not create these objects unless this BaseStyleMap property has been edited. You can look through the designer code and see how these properties are being used. You can also probably remove them using teh desinger itself.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon