Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #113106
    priyam.sharma
    Participant

    Hi, I am working on a smart-grid with <b data-ogsc=””>rowDetails</b> set to <b data-ogsc=””>true. </b>I also have a Refresh button that refreshes the grid’s data. But when refresh is executed, the data in rowDetails gets corrupted.

     

    BEFORE clicking Refresh btn

    Image preview

     

     

    AFTER clicking Refresh btn:

    Image preview

    I have attached a codepen demo to show the issue. smart-grid-row-details. Please let me know if you need any other info.

    #113112
    Markov
    Keymaster

    Hi,

    Use updateRow instead of setting the dataSource.

      grid.updateRow(0,
                    { Name: 'Task 11', Status: "evaluated", Created: 'Item 1.3', Evaluator: 'UPDATE Item 2.4', EvaluationTime: 'Item 12.5', WorkDirectory: " UPDATE path1" }
                    )

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #113118
    priyam.sharma
    Participant

    This works when I have the row details collapsed. When I have rowDetails expanded, and then if I do grid.updateRow(), it does not refresh the rowDetail’s content.
    I have updated the codepen demo. -> smart-grid-row-details

    #113122
    Markov
    Keymaster

    Hi,

    I saw the updated codepen example. The updateRow should update the row details as well while it does not currently without calling the render method. We will update this for the next version.

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #113129
    priyam.sharma
    Participant

    Hi Markov, thank you for the update. May I know when the release date for the next version?

    Regards

    #113130
    Markov
    Keymaster

    Hi,

    In the last week of November, we will release an update of Smart UI.

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.