How to get binded row in CellTemplate in FlexGrid

Posted by: gennadiy_lenivenko on 26 December 2019, 4:08 am EST

  • Posted 26 December 2019, 4:08 am EST

    I am using CellTemplate in FlexGrid. E.g.
    ------------------------
    ...
    public class MyClass {
    public int MyPropInt {get;set;}
    public string MyPropStr {get;set;}
    }
    ...
    <GridColumn Binding=@nameof(MyClass.MyPropInt ) Header="X" >
    <CellTemplate>
    @{
    int value n = (int)context;
    //Here I need to find appropriate MyPropStr from binded MyClass for this row. How can I get binded MyClass and its properties?
    <span>@n</span>
    }
    </CellTemplate>
    </GridColumn>
    ...
    ------------------------
    Thank you
  • Replied 26 December 2019, 4:48 pm EST

    Hi,
    This issue requires further investigation by the development team. Hence, it has been forwarded to them with internal tracking id 414894.
    We will let you know as we get an update on this.

    Regards,
    Manish Gupta
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels