jQWidgets Forums

jQuery UI Widgets Forums Grid Get rendered row

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  robf 5 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Get rendered row #108091

    robf
    Participant

    Hello,
    Can you please explain how I can the currently selected RENDERED row. E.g. I know I can get the underlying raw data using jqxGrid(‘getrowdata’, index) but I want what the user sees, that is the displayed/rendered row. So for example, if I have a DATE column that I have cellrenderer that display MM/DD/YYYY but the raw data includes, say, timezone, I ONLY want to see the MM/DD/YYYY.

    Again, I would to be able to access the fully rendered row.

    Thanks.
    Rob

    Get rendered row #108134

    Martin
    Participant

    Hello Rob,

    There is no such method of the grid that returns the displayed with cellsrenderer data.
    However, what you can do is to use the same function you use for the cellsrenderer to format your data.

    Please, take a look at the following Example.

    Best Regards,
    Martin

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

    Get rendered row #111550

    robf
    Participant

    Hello Martin,

    Is there a way to get this to render using the cellsformat – e.g. “cellsformat: f2” and produce the same rendered result – e.g. 1,254.99

    Or do I also need to have a cellrender function?

    Thank you
    Rob

    Get rendered row #111551

    robf
    Participant

    One more really important question regarding something that seems VERY useful. When the grid has ADAPTIVE mode on, and you click the ellipsis at the end of the row, the form that pops up is EXACTLY the data representation I am looking for! I.E. it displays the row as you see it in the grid. Is there a way to hook into that same logic that you use for creating that form? That would be INCREDIBLY USEFUL!

    Thanks.
    Rob

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

You must be logged in to reply to this topic.