I have an Infragistic grid,textboxs and a Cancel button below the grid in my web page. I am populating the grid from the database.
When I click any row in IgGrid , the columns value for that row are shown in the text boxes (NB: We are not using row editing template of iggrid). Then If I make any changes in any of the text box values, the same is directly reflecting in the grid.But if I want to cancel the edited data By clicking Cancel Button ,It should load the Iggrid in previous state.
But In my case chages are reverting back in Datasource of iggrid , but it is not reflecting in the iggrid. IgGrid is displaying edited data, not same as previous state.
Please suggest how can I do this.
Hello Biswajit,
Thank you for contacting Infragistics community.
It would be more helpful if you could share your code in order to take a deeper look at it on my side.
At the meantime please take a look at the following sample that demonstrates grid with knockout.js binding and similar behavior to your scenario: http://igniteui.com/grid/bind-grid-with-ko I hope you may find it useful.
Looking forward to your response.
Regards,
Tsanna
Hello Tsanna,
Thank you for providing the link.
I will look into it and let you know whether it will work or not.
Biswajit