Flexigrid - Lightweight but rich data grid |
[eluser]paulopmx[/eluser]
[quote author="paky" date="1211486302"][quote author="SeanRock" date="1211485190"]Hi i successfully loaded a plain text file that contained some json data. however i had to amended the flexigrid.js file to accomplish this. you could add another option that would indicate if you are loading data from a page such as html, php, aspx or a text file. if you look in the flexigrid.js file (approx line 599) where the $.ajax... call is made. i replaced this with $.getJSON('test.json',function(data){g.addData(data); and it worked fine. so this part of the code could be changed to allow for this.... if (loading plain text) load using getJSON else load using ajax but obviously paging and sortingt (unless done on the client) would not be applicable.[/quote] If I want another parameter ... for example ... query_post_fromfile:'AND user.age=3 AND user.niick=bob' ... how can I do it? In post.php can I read it with $_POST[] .... thanks[/quote] hi paky, This is probably one of the more important questions I failed to answer. Anyway, please check this sample HTML where I attached a form to flexigrid. http://webplicity.net/flexigrid/sample1.html paulo |
Welcome Guest, Not a member yet? Register Sign In |