Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
How to access grid row from a control contained in a cell
posted

I am using the method of placing a UltraTextEditor with a RightButton and a Control of a UltraGrid, to simulate a multiselect drop down. This drop down grid contains a column of checkboxes. This multiselect drop down is bound to a column the main ultragrid. 

When I click the check box(from within the CellChange event) , I need access to the row that is containing the custom drop down grid. (The main grid) Is this possible?

 

Note: This also needs to be accessed during the drop down grids InitializeRow method, so checking mainGrid.ActiveRow is not feasible as it is null at this time.

Parents
  • 469350
    Suggested Answer
    Offline posted

    While the dropdown is dropped down, you can simply use grid.ActiveCell.

    I don't understand what you mean about InitializeRow. You can access any cell in the row using e.Row.Cells. But you can't access the dropdown during this event - or at least it will not make any sense to do so.

Reply Children
No Data