The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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.
IRIrinaSeptember 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
ADAdministrator Syncfusion Team 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.