jQWidgets Forums

jQuery UI Widgets Forums Grid Column that uses cellsformat does not rerender on update

This topic contains 1 reply, has 2 voices, and was last updated by  admin 5 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • robf
    Participant

    I have a grid that includes a column with datetime property.

    I define the column as such:

    {
    text: 'Last Modified',
    dataField: 'lastModified',
    cellsFormat: 'MM/dd/yyyy hh:mm:ss',
    cellsalign: 'center',
    width: 130
    },

    The raw data is : “2019-04-12T15:25:19.148Z” and the rendered data initially displays correctly as 04/12/2019 03:25:19.

    However, when I perform an update row with a new object that contains the same ISO date the cellsformat does not get re-triggered and displays the value as raw data value.

    My update is simply $(“#myGrid”).jqxGrid(‘updaterow’, rowid, newObject);

    Is there some other rendering I need to do on a row update?

    Thank you


    admin
    Keymaster

    Hi robf,

    The correct property name is ‘cellsformat’. As for the reported behavior, could you provide a jsfiddle or codepen example which demonstrates it?

    Best Regards,
    Peter Stoev

    jQWidgets TEam
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.