I want to select a row from my igGrid and when submit button is clicked, I want that entire row to be passed down to the action method of the submit button. How can I do that ?
I have set features.Selection().Mode(SelectionMode.Row);
Is there a way to pass the entire row which was seleected to the action method or could i atleast get the id of the row selected.
Also is there a way other than using Jquery, Is there a .feature=> property through which we can pass the row or row id on button click. If not then please tell me how to do it through Jquery.
I need to know this urgently. Any help would be appreciated. also I have read the IgnitUi's website demo but still i cannot seem to achieve what i want .
If you could provide a short working sample , that would be great.
Thanks.
Hello zeppelin led,
Thank you for posting in our forums!
If you are submitting a form, you can pass the selected row's rowId through a hidden input. You can handle the rowSelectionChanged event to set the value of the hidden input. You can then use this id to get the rest of the row's data you may need on the server. Please see my attached sample for a demonstration of this.
You can find more information on the rowSelectionChanged event in our documentation here:
https://www.igniteui.com/help/api/2014.1/ui.iggridselection#events
If you have any further questions or concerns with this, please let me know.
how to get the iggrid selected row data in igtexteditor while cliking on the row in iggrid
Priya,
I provided guidance on how to do this in How to get the selected row of iggrid thread that you followed up on yesterday.
If the approach presented in the threads you are following up on doesn't work for you, please provide details on what specifically you need assistance with. I also recommend starting a new thread rather than following up on threads that have been inactive for years.