jQuery UI Widgets Forums Grid Knockout templates in cellsrenderer

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  _ar_ 11 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Knockout templates in cellsrenderer #13822

    _ar_
    Member

    When HTML tags containing knockout templates are returned by the cellsrenderer, they seem to be rendered correctly in the first instance. However, when scroll or column resizing actions are performed on the grid, the templates are no longer rendered.

    What would be a good workaround to this problem (if possible)?

    Knockout templates in cellsrenderer #13832

    Peter Stoev
    Keymaster

    Hi _ar_,

    Unfortunately, Knockout templates are not supported in the Grid.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Knockout templates in cellsrenderer #13869

    _ar_
    Member

    Thanks Peter,

    I was able to get the templates to show up by calling ko.renderTemplate() after a short timeout from the cellsrenderer (this isn’t perfect either). Is it possible to get some javascript code to kick in AFTER the cell DIVs are rendered? I could insert the ko.renderTemplate there to make things work.

    Regards.

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

You must be logged in to reply to this topic.