FlexGrid flexible binding

Posted by: pirobox on 26 February 2018, 2:09 am EST

    • Post Options:
    • Link

    Posted 26 February 2018, 2:09 am EST

    Hi all,

    I’d like to ask you which is the best way to address this scenario.

    I’m working with a FlexGrid.

    In a column I want to bind some numeric data.

    So in the definition of my grid I’ll have someghing like this

    columns: [

    header: ‘Amount’, binding: ‘amount’, format: ‘n2’ }

    ]

    but then I’ve the necessity to show, in the same column a cell of a different type.

    I don’t know, a value that is not numeric. It could be a label with some remark.

    Is there a way for associating a custom editor to a specific cell of the grid in that column?

    regards,

  • Posted 26 February 2018, 11:33 pm EST

    Hi,

    For adding CustomEditor based on cell value, you need to check and add CustomEditor. Please refer to the CustomEditor fiddle:

    http://jsfiddle.net/qwctfo4y/77/

    In the fiddle, downloads column have string type value, CustomEditor would not display for that cell.

    ~Manish

Need extra support?

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

Learn More

Forum Channels