cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

sending edited column value to datatable

SOLVED
Highlighted
Regular Member

sending edited column value to datatable

Hello,

I currently have a datatable with one of the columns as scheduleno. This is editable. Now i want to send the column value edited during runtime to my datatable. kindly let me know how we can achieve this.

Also, which widget is btter for this functionality, gird or adv-grid? if we use adv-grid, pls share step by step procedure to do the same.

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Re: sending edited column value to datatable

Correct, the Grid widget will have a 'Property' called 'Edited Table' which is the table you can use as an input to the service. the Advanced Grid should feature an additional property called 'Changed Row(s)'

And then indeed you would loop through it and use AddorUpdate service

View solution in original post

4 REPLIES 4

Re: sending edited column value to datatable

The regular Grid can only provide the full edited table, so not just the column.

The advanced Grid I believe can provide in addition to edited table, it can provide changed rows, again not just the column.

So based on that you need to run some logic that compares values and does updates based on that.

Re: sending edited column value to datatable

Can u please give me an example with respect to retrieving changed row
values?
So you are saying that I have to take changed row values as input to a
service, loop through the input and send the output to
AddorUpdateDataEntries service of my data table?

Re: sending edited column value to datatable

Correct, the Grid widget will have a 'Property' called 'Edited Table' which is the table you can use as an input to the service. the Advanced Grid should feature an additional property called 'Changed Row(s)'

And then indeed you would loop through it and use AddorUpdate service

View solution in original post

Re: sending edited column value to datatable

Thank you, but I could not find any property called Changed Rows in the advanced grid

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________