Skip to main content
5-Regular Member
December 30, 2020
Question

Re: Add and delete rows in Grid

  • December 30, 2020
  • 3 replies
  • 1161 views

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

    16-Pearl
    January 4, 2021

    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

    5-Regular Member
    January 5, 2021

    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.

    Support
    January 22, 2021

    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