jQWidgets Forums

jQuery UI Widgets Forums Grid Custom highlighting of a row

This topic contains 2 replies, has 2 voices, and was last updated by  Shankar 11 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Custom highlighting of a row #54098

    Shankar
    Participant

    Hi

    I want to show the row in a different color if a row is edited/changed other than the color which will be applied when the row is selected. I have tried applying it in the ‘updaterow’ call back function ( added my custom css class to the cells div element by iterating), it applied successfully ( when I put a break point there I can see my custom color for the row), but once the call completes it is reverted again back to the color that gets applied when I select the row ( i.e the color of the css entry “jqx-fill-state-pressed”) and even the class which I have applied is no more there for the cells div element.

    Please let me know the right point I need to apply my custom color so that it will not be reverted back by the framework once the edit is finished for the row.

    Thanks
    Shankar

    Custom highlighting of a row #54115

    Peter Stoev
    Keymaster

    Hi Shankar,

    We have such demo available online: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/editrowsrendering.htm?arctic. It uses the cellclassname setting.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Custom highlighting of a row #54265

    Shankar
    Participant

    Thanks Peter, it worked for me.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.