This is a migrated thread and some comments may be shown as answers.

AJAX Insert using Pop-up

0 Answers 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andy McShane
Top achievements
Rank 1
Andy McShane asked on 23 May 2012, 12:23 PM
Hi, I am using a grid that is loaded via Ajax and performs the insert/update/delete via Ajax. In my toolbar I am using a template that contains a dropdown list and the insert button, which is an anchor tag with 't-grid-add' as a class value. When an option in the dropdown list changes the content of the grid are reloaded based upon the dropdown value. What I am struggling to do is work out how I can pass the current value from dropdown list to my insert action so that I know what the parent key is for my new record. How could I do this please?
Tags
Grid
Asked by
Andy McShane
Top achievements
Rank 1
Share this question
or