The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Edit in datagrid
Posted: 19 Apr 09 11:43 PM
|
When i change a value in a datagrid column then based on the selected value, i want to change the value in another column in the same row. How can i do that. |
|
|
|
Re: Edit in datagrid
Posted: 20 Apr 09 12:29 AM
|
onediting event of Grid you get the present value of column in "Value" parameter. store it in one form level variable then on onedited event of the grid you can get the changed value of column in the same Value parameter of this event. then check if the value us changed. if yes the assign the grid record set to a temp record set update the column value in temp record set and assign it back to grids and then refresh the grid |
|
|
| |
|
Re: Edit in datagrid
Posted: 20 Apr 09 1:56 PM
|
And don't forget that SLX has already fired off the update on the actual column with the changed value.... |
|
|
|