Is there any event to capture the row double click event? And i need how to read an item in the selected row and pass it as a query string to some other page. I need sample in ASP.NET MVC Razor (cshtml). It will be great if some one can assist me on the same.
Hi Martin,
Any update on this???
Regards,
Suresh A
Hello Suresh,
Thank you for posting in our forums.
I created a support ticket on your behalf
CAS-82287-FDBWKR
You can upload your sample code to the case
as we are not able to reproduce the issue in our environment
using the appoach which Martin provided you.
Please zip all the files before attaching them to the case.
Hope hearing from you.
Hi Tsvetelina Georgieva,
Thanks for your response. As mentioned earlier when i use window.open its getting some time to load the page where as if i give window.address its opening fine.
My issue is
<script type = "text/javascript" > $(document).ready(function () { $('#igGrid1').delegate('.ui-iggrid-activerow', 'dblclick', function (e) { var row = $('#igGrid1').igGridSelection('selectedRow'); var dataview = $('#igGrid1').data('igGrid').dataSource.dataView(); var cellValue = dataview[row.index]["UserId"]; var address = "@Url.Action("ModifyUser")" + "?UserId=" + cellValue; window.location = address; }); }) </script>
The above script works perfectly fine when i double click on the grid which is in the users.cshtml page.
I have 2 pages
1. Users.cshtml - Displays the user details int he grid. When i double click i need to
open a modal popup window where i will pass user id as a query string to modifyusers.cshtml page
2. ModifyUsers.cshtml - User is allowed to modify certain details on the page. On click of save button
it is updating the details to the DB. After it gets updated the popup needs to be closed and
the grid in users.cshtml must be refreshed.
How to acheive the same?
Any updates on this?
I have answered your question here
http://community.infragistics.com/forums/p/64713/327888.aspx