I tried to insert a row in the dataset when the button click. In my case row was inserted successfully in the database but at times only insert a single cell.
I have tried to set new values in multiple cells and then insert rows in the database using a button click but I'm not able to set multiple cell new values.
Below is the script used in table propertyChange:
if event.propertyName == 'selectedRow': dsData = event.source.data row = event.source.selectedRow col = event.source.selectedColumn newValue = event.newValue if row != -1 and col != -1: newData = system.dataset.setValue(dsData,row, col,newValue) event.source.data = newData
Thanks in advance!!