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

Mailing Lists
Home /  Groups /  JQuery

Looking for a Grid

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi Folks -
Doug Ford
02/08/10 05:02 P
Short and sweet: jqGrid
Raymond Camden
02/08/10 05:05 P
Hi Ray -
Doug
02/08/10 05:44 P
>>>wouldn't that add additional overhead?
Raymond Camden
02/08/10 07:21 P
Doug,
Scott Stewart
02/08/10 11:14 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Doug Ford
02/08/2010 05:02 PM

Hi Folks - I am looking for some help when it comes to deciding upon a jQuery Grid. Being new to jQuery, I am still trying to wrap my head around everything. I am looking for a grid that will allow me to control the layout/format/css of individual cells within a table. All of my work would be a mix of jQuery & Coldfusion. What I would need to do is read a DB table, spit out the table, add logic during the creation of a table, and add in certain CSS coloring and classes or divs to add in tool tips, and still have all the sweetness of a slick jQuery UI. Any and all ideas are appreciated. Thanks, Doug

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
02/08/2010 05:05 PM

Short and sweet: jqGrid Very powerful grid. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Doug
02/08/2010 05:44 PM

Hi Ray - As always thank you for your ideas and assistance. I am examining the demo/code for jqGrid. From my examination of the code, it looks like when you reference the page that has your query on it, you are pulling in the data, and the grid just displays it as is. What if, I want to test for values within my query and modify the cells background-color during the creation of it. For example, I have a query that is a joined from 2 tables. The first table has: Name, phone, address The 2nd table has address_changed I would join the two tables, and during the creation of the table, I would test for a value from address_changed. If there was a change, the original address field would be highlighted in some color, and and the field would then be associated with a tool tip to display the new value, and the address_changed column would not be displayed. From what I am reading, it looks like jqGrid just grabs the data and dumps  it out. Any and all ideas would be helpful. Thanks. Doug ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Doug
02/08/2010 06:06 PM

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? Maybe I'm not wrapping my head around this correctly. 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? Thanks. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
02/08/2010 06:36 PM

> 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.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Doug
02/08/2010 07:16 PM

>>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!! ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
02/08/2010 07:21 PM

>>>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. I'd at least give it a try. Remember, everything above binary is overhead. ;

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
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!! ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search jquery

June 19, 2013

<<   <   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
30             

Designer, Developer and mobile workflow conference