Skip to main content
1-Visitor
February 12, 2020
Solved

sending edited column value to datatable

  • February 12, 2020
  • 5 replies
  • 1671 views

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

Best answer by PaiChung

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

5 replies

22-Sapphire I
February 12, 2020

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.

1-Visitor
February 13, 2020
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?
PaiChung22-Sapphire IAnswer
22-Sapphire I
February 13, 2020

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