Change flexgrid row cells text color in OnCellEditEnded event

Posted by: suresh.venkatesh on 5 January 2018, 2:04 am EST

    • Post Options:
    • Link

    Posted 5 January 2018, 2:04 am EST

    Hi,

    I have a common javascript method to set the text color based on dropdown selected item in flexgrid. This method will return color names like Red,Green,Blue,Gray etc.

    So, please suggest me how to implement the above javascript method to change the row text color in onCellEditEnded event and the same implementation will be fine even in dropdown selectedindexchanged event .

  • Posted 7 January 2018, 5:10 pm EST

    Hi Suresh,

    For this, you need to detect cell detail which is edited and store it to an array. After this, use itemFormatter to apply color for edited cell.

    Please refer to the fiddle for the same.

    http://jsfiddle.net/mkgupta911/xkzdkmsp/

    ~Manish

Need extra support?

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

Learn More

Forum Channels