House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / JQuery

Looking for a Grid

Author:
Scott Stewart
02/08/2010 11:14 PM

Doug, Check this article out (not my blog but it got me through configuring JQGrid) http://www.coldfusion-ria.com/Blog/index.cfm/2009/1/27/Using-jQuery-based-jq Grid-with-ColdFusion-Part-1 This winds up, in the third installment, with a full blown CRUD enabled grid. He's using json to pass values back and forth to cfc's in the background. >>wouldn't that add additional overhead? > Yes. :) That's what I was afraid of.  I am trying to keep my code relatively tight and use more ColdFusion logic than JS/jQuery. > Now this part I'm not so sure about. Are you building an editable > grid? Remember - a custom formatter is applied to just a column. It > rewrites your data. It doesn't necessarily modify the entire table. > Also, if you are doing paging with jqGrid, then you are just modifying > one column of one page. At this time, I am not making an editable table.  I am looking to just have controls that allow me to manipulate columns, maybe move them around, sort on the fly, have nice pagination controls.  I don't need a lot og AJAX to edit cells, I just need the ability to edit the design of the table behind the scenes, and then display with the nice jQuery table wrapper. If you take a look at Ingrid for jQuery, you'll see what I am getting at. I am testing out Ingrid, but I am having some problems with the layout and the CSS associated with it. So I am looking for alternatives. Thanks!! > > >> >> Being a novice at jQuery functionality and features, but if I was to >> have a table with 200+ rows with changes in them, wouldn't that add >> additional overhead to the web page to create custom JS functions that >> would reference only the cells that would require a change be done to >> it? > > Yes. :) I'm a novice to the Ajax world myself, but this is something > that has no cut and dry answer. Processing on the client versus > processing on the server will always have it's strengths and > weaknesses. There is no one right answer for this. > >> But with JS and jQuery being client-side languages, when it makes a >> call to the server-side page, from the examples, it looks like it's >> only retrieving the data that the query would produce. >> >> But if I was to attempt to modify certain cells within the table, >> wouldn't I have to add JS code to modify every independent cell that >> needs a change? > > Now this part I'm not so sure about. Are you building an editable > grid? Remember - a custom formatter is applied to just a column. It > rewrites your data. It doesn't necessarily modify the entire table. > Also, if you are doing paging with jqGrid, then you are just modifying > one column of one page. > >


Search jquery

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29