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
180
How do I retrieve selected row's column.index in wingrid_mouseclick event in infragistics 8.2 ?
posted

 

  • 17259
    Offline posted

    UIElement uiElement = grid.DisplayLayout.UIElement.ElementFromPoint(e.Location);

    if (uiElement != null)

    {

    UltraGridCell cell = uiElement.GetContext(typeof(UltraGridCell)) as UltraGridCell;

    var index = cell.Column.Index

    }