![]() |
Admin 8/3/2019 |
If you use a grid row click event you cannot find the column that was clicked on. It is a row-level event. |
A
|
alang author 8/5/2019 |
If you use a grid row click event you cannot find the column that was clicked on. It is a row-level event.
|
![]() |
Admin 8/5/2019 |
Store it in an external PHP file. Then you can plug it in using the technique explained in this article: |
A
|
alang author 8/6/2019 |
Thanks for your help Sergey. Something for the future suggestion list I guess. In this case, having the column number/name as a parameter would have been really useful - it is a bit tedious creating a separate function for each column even it is only a 1-liner <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=88429&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
A
|
alang author 8/12/2019 |
One more issue I found is that after editing the HTML page as described in the article, any change done in the designer is NOT effective until Editor page is Reset and the change re-applied. I discovered this after trying to make the table unresponsive (uncheck the Responsive checkbox). Bit of a trap that can cause some frustration <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=88474&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> I guess it makes sense, but it might be useful to have some indication on the Designer tab that changes will not be applied while custom changes to the editor template are in place. |
W
|
wpl 8/12/2019 |
Alan,
|
A
|
alang author 8/12/2019 |
Alan, maybe you could use this: Get ID of TD on click of table as a starting point to grab the content of the attribute "data-field" (i.e. the fieldname) of the clicked column in "JavaScript OnLoad" and pass it to the "click row event" via proxy (proxy.fieldname) to use it in your AJAX function like so:
|
W
|
wpl 8/12/2019 |
it would be nice if you could keep us informed about any progress you are making. Looks interesting - thanks for that. Definitely a better way to go using the "click row event" if possible in my view. |