jquery - jqGrid - TableToGrid -
newbie here. have html table (structured required tabletogrid method). table not static dynamically created on server side , returned client html content.
following questions:
1] in markup page, have this: table id="list" inside jquery dialog pops when event invoked on web page. dialog contain jqgrid receives html table server side code based upon user event.
please confirm if table markup required because dynamic html content generated can have line included.
2] dynamicallly generated html content, i'm doing below in javascript:
tabletogrid("#list", { url: myfilelocation, //this server side page creates html mtype: 'post', postdata: { param1: parva1, param2: paraval2},
viewrecords:true }
nothing seems happen this. doubt server side page isn't reached.
the wiki document says tabletogrid converts existing html table grid. so, mean, dynamically created html table cannot shown grid?
grateful if can clarify.
many thanks, ds
it try load server side page distant server, not allowed browser. should run script same server create table.
you may want first load data $.ajax or $.post, make sure data loaded correctly, , try again.
Comments
Post a Comment