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

How to determine state of currentcell?

I''m using CellType="ComboBox" and am trying to determine if the ComboBox is actually being displayed or not during the grid''s PrepareViewStyleInfo event. For example, if a user is tabbing across the grid, then comboboxes don''t actually activate (there''s no cursor or dropdown button), but if the user clicks directly on the cell, the combobox becomes active (i.e. there''s a blinking cursor in the textbox and a dropdown button is visible). I was hoping this information would be available, e.g. grid.CurrentCell.IsEditing Any ideas? Thanks a lot. -Luke

1 Reply

AD Administrator Syncfusion Team June 4, 2005 02:38 AM UTC

I think you would have to use a compound logical condition testing that both grid.CurrentCell.IsEditing and grid.CurrentCell.HasCurrentCellAt(e.RowIndex, e.ColIndex) are true.

Live Chat Icon For mobile
Up arrow icon