Skip to main content
Dec 30, 2020 7:05 AM UTC
Question

Re: Add and delete rows in Grid

Hi ,

I want to delete and add rows in grid with Custom service using selected Rows property of grid. i have infotable service which is returning infotable with Datashape.

how to use selected rows and delete the rows from grid?

 

Thanks

    3 replies

    Jan 4, 2021 4:14 PM UTC

    Hello @KB_9398319 

     

    You can achieve this by writing a custom service.

    Please refer the following community post which provide answer to your query:

    https://community.ptc.com/t5/ThingWorx-Developers/Add-row-or-delete-rows-from-Grid/m-p/705129#M49724

     

    Thanks

    Om Dukiya

    Jan 5, 2021 7:57 AM UTC

    You can also add a boolean property into the datashape, and make the property editable in the grid. When you try to delete the selected rows, use this property as filter option.

    Jan 22, 2021 8:34 PM UTC

    Hi @KB_9398319,

     

    If your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others in the community.

     

    Regards.

     

    --Sharon