Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






How to get values form TreeGrid by using ondblClickRow:function(id) ?

No Tags
UserPost

23:53
20/12/2008


tusharJQGRID

New Member

posts 1

Hi every one , TreeGrid is great & cool…., but i have a doubt

LaughingHow to get values form TreeGrid by using ondblClickRow:function(id) ?

i tried this code but i am not able to get id why?

var ret = jQuery("#TreeGrid").getRowData(id);

And also how to use the methods given in TreeGrid ==> getInd()

pl guide me. Laughing

Thanking you

Tushar


04:37
23/12/2008


tony

Sofia, Bulgaria

Moderator

posts 7043

Hello,

If you put alert here 

ondblClickRow:function(id){

alert(id);

var ret = jQuery("#TreeGrid").getRowData(id);

}

What is shown for the id?

You can use this like other – i.e. $("#migridid").getInd(rowid)

Regards

Tony


No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

crohit

maguimac

60 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9656

Posts: 28942

Membership:

There are 10350 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7043 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information