Skip to main content
5-Regular Member
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

    16-Pearl

    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

    Translate
    5-Regular Member

    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.

    Translate
    Support

    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

    Translate