Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Yes you can edit a grid. Once you have your grid and some data bound to it there are a number of steps to go through.
When you have finished your edit you will want to do something with the edited table. To do this you will have to write a service that has an infotable with the same datashape as the grid as an input parameter. To input the edited data you bind the 'EditedTable' property to the input parameter of your service.
Then use a button to trigger the update service.
Yes you can edit a grid. Once you have your grid and some data bound to it there are a number of steps to go through.
When you have finished your edit you will want to do something with the edited table. To do this you will have to write a service that has an infotable with the same datashape as the grid as an input parameter. To input the edited data you bind the 'EditedTable' property to the input parameter of your service.
Then use a button to trigger the update service.
Hi,
This is helpful. Could you please explain the last part of your answer? How to bind the edited table to the service? How can I use a button to perform this? Thanks in advance.
Hi,
assuming you have already
then in the mashup composer click on the grid widget, and from the widget properties panel drag the 'EditedTable' property onto the input parameter in your 'update' service. Now add a normal button to your mashup which calls your 'update' service. Once your 'update' service has run you will probably want to call the service that populated the table originally again.
Great ! Thank you so much. I'm able to edit and update the grid now. But the text is not displayed while editing the grid (Attached the screenshot) How can make it visible? Thanks in advance.
Hi,
unable to view the attached files for some reason. Could you maybe paste them in the post directly?
Could it be the style definition for the edited field in the grid widget properties? Maybe the foreground colour is the same as the background or text too large to display in edited cell?
Hi @svisveswaraiya.
If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon