Quantcast
Browsing all 21760 articles
Browse latest View live

ColdFusion data source for jqGrid

I am using jqGrid for my application and found the example from jQuery web site for first grid like following.jqGrid expect url to GET data from server side code and data type is XML.I would like to...

View Article


Re: jQuery in CFWINDOW

Did you take a look the examples on the web site? You can also create a form inside the dialog. http://jqueryui.com/dialog/#modal-form Anyway, if I were I would not use any built-in UI related tags...

View Article


Re: ColdFusion data source for jqGrid

Replace "example.php" with a CFM file that produces XML document as text (not ColdFusion XML object). That's it! You can either get the data from database using cfquery or cfstoredproc. If you use...

View Article

Re: ColdFusion data source for jqGrid

This page gives you an example how you should generate the XML (in PHP), but you can see the XML structure. Then, you adapt it to ColdFusion. http://trirand.com/blog/jqgrid/jqgrid.html

View Article

Re: ColdFusion data source for jqGrid

I use following SQL to create a table and enter some data and cfc file to generate JSON data and change url to Example.cfc, but no luck,I am looking for CSS and JS file to see any mistake there, Thanks...

View Article


Re: jQuery in CFWINDOW

Thanks a million for helping and information, Regards,  iccsi,

View Article

Re: ColdFusion data source for jqGrid

"no luck" -- What was the problem? Error or the grid was not displayed? If you suspect the JS or CSS causing the problem, then you should see the error from Firebug or Chrome Developer Tools.

View Article

Re: ColdFusion data source for jqGrid

I was able to run jqGrid on my local machine. Basically, you only need to adapt the example code from the web site. And, you are all set! <!--- xml_data.cfm ---><cfcontent...

View Article


Re: ColdFusion data source for jqGrid

There was a JavaScript error, however. And, I found it by running Chrome Developer Tools. The jQuery code missing the closing brace and parenthesis.   });  </script> And, of course you need to...

View Article


Re: ColdFusion data source for jqGrid

Thanks for the message and help,Google Chrome does not show the Gird, but I go to Developer tool Console show the following error,I got error message like following from Google ChromeUncaught...

View Article

Re: ColdFusion data source for jqGrid

If you got those errors, that means you were in the right direction to make the jqGrid working. The first two errors "jQuery is not defined...." -- You include the libraries. <script...

View Article

Re: ColdFusion data source for jqGrid

Thnaks for the message,I did not inlcude jquery js, once I have it then I got grid, but no data,I am looking to why it does not have data, Thanks again for helping, Regards, Iccsi,

View Article

Re: ColdFusion data source for jqGrid

Thanks for the message and help,it seems that Example.cfc does not return data to jQuery.cfm.  Regards, iccsi,

View Article


Re: ColdFusion data source for jqGrid

You can test by calling the CFC. Example.cfc?method=getLoc Does the method return any data? You might also need header.

View Article

Re: ColdFusion data source for jqGrid

[{"tax":10.00,"invid":1,"invdate":"July, 24 2013 00:00:00","client_id":1,"note":"Test","amount":10.00},{"tax":50.00,"i nvid":2,"invdate":"July, 03 2013...

View Article


Re: ColdFusion data source for jqGrid

I see data when I use xml data like you code, but not cfc,Example.cfc returns data, but not jQuery Grid does not see data from Example.cfc,I would like to know can ColDFusion return XML data type?...

View Article

JQuery GRID JSON data

I have following code to use JQuery GRID.I tried to use XML data first, using DataXML.cfm which works.After that, I tried to use JSON using following code which is the same I just change datatype to...

View Article


Re: ColdFusion data source for jqGrid

it seems that cfc does not return json data type that jquery grid looking for.I just got some json format from web site that json type cfc returns do not have "page", "total", "records" and "rows"...

View Article

Re: JQuery GRID JSON data

it seems that JSON returned by cfc format is not the format jQuery grid expected.I got some format from web site like following, Regards,  Iccsi,...

View Article

Re: ColdFusion data source for jqGrid

As I mentioned before, you might need to specify the header when you return JSON from CFC. <cfcontent type="text/json;charset=utf-8" /> I didn't test it, but you can try. Also, make sure that...

View Article
Browsing all 21760 articles
Browse latest View live