Forum
18:51
14/02/2014
Hi folks,
i'm using jqgrid and exactly i'm using treegrid.
During costruction, i use a custom formatter to add link to every row... in my action link i create my link and then i add the click event on loadComplete of my treegrid.
this is my code:
this is my custom action column
{ name: 'Action_Link', index: 'Action_Link', align: 'center', formatter: addLinks }
this is my function:
var link = ''; var action = rowObject.DmcNcAction;function addLinks(cellvalue, options, rowObject) {...
where i build my custom link, then i add button event for every link:
function Add() {
$("button[id^='plus-']").on('click', function (e) { ...
this is my problem. i call add function in jqgrid loadComplete event...but there different problem during click...
where is the problem?
thanks in advance,
Marco
Most Users Ever Online: 715
Currently Online:
53 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66