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

Mailing Lists
Home /  Groups /  ColdFusion Newbie (CF-Newbie)

using GridData deleteRow(gridname)

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mo Lay
11/11/2011 09:58 PM

Hi Peers, i am using the following code statement "GridData.deleteRow(gridname)" to delete single row in a cfgris. Is there a way to delete all cfgrid in one click ? thanks

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
11/12/2011 09:21 AM

Probably. :) What I recommend is checking the Ext docs for grids (make sure check the right version). ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
11/13/2011 01:31 AM

I don't think ExtJS was introduced in CF MX 7.0 I could be wrong though. On Sun, Nov 13, 2011 at 1:21 AM, Raymond Camden <raymondcamden@gmail.com>wrote: ----- 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:
Andrew Scott
11/13/2011 12:09 PM

All Mo's questions have been CF MX 7 related :-) On Mon, Nov 14, 2011 at 2:17 AM, Raymond Camden <raymondcamden@gmail.com>wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
11/13/2011 01:02 PM

Mo, if you are indeed on 7 and using the Flash based grid... stop. Seriously. Don't use it. You want to use an Ajax based grid when you CAN do with CF7, you just have to get the bits yourself. If you are using the Java applet based grid, stop, scream, and run away. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mo Lay
11/13/2011 03:14 PM

----- Excess quoted text cut - see Original Post for more ----- Hi Ray, unfortunately, we're still on 7 .we may migrate to CF 9 next year but do not have any idea on when it will be done. What i know is have to deliver something i am working on and need some workarrounds. for my entire grid i have found a workarround on how to delete all record as i am capruting some data through URL parametes.. this is not that complicated... but talking about using Grid what do you guys suggest to me.. is there a way that i can use grids and be able to integrate calculations between grid cell / element whithout using CF 7 or CF 9 in the future ? this will be my next step in my project is to built that dynamic grid where i can perfom different calculations in the grid.. i need yout thoughts and directions guys ?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
11/13/2011 04:01 PM

> unfortunately, we're still on 7 .we may migrate to CF 9 next year but do not have any idea on when it will be done. What i know is have to deliver something i am working on and need some workarrounds. So, what grid _were_ you using? Flash or Java? > for my entire grid i have found a workarround on how to delete all record as i am capruting some data through URL parametes.. this is not that complicated... > but talking about using Grid what do you guys suggest to me.. If you like jQuery, I'd use jqGrid. If you Google, you will find some CFers who have done blog posts on using jqGrid. > is there a way that i can use grids and be able to integrate calculations between grid cell / element whithout using CF 7 or CF 9 in the future ? Um... errr... what? YOu want to do this w/o CF7? I'm assuming you misspoke here.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
11/13/2011 06:51 PM

Ah. Bad choice. :) But as I said, I'd look into jqGrid - as others in our community has already and you can start with some good tutorials. I think Andrew may be an Ext guy and can recommend their solution. Point is- there are options out there. :) ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
11/13/2011 11:40 PM

Mo, As Ray has mentioned that there are options out there, and you will need to decide on what best suits you. Personally I would opt for ExtJS, its been around and has a great team of developers and community, and is based on OOP principles. jQuery has good support of developers, and many things you can do with it as well, but the biggest let down is the code is not clean nor is it optimised to run anywhere near as fast as ExtJS is either. What if you want the Grid to have all the listeners, and events of a grid, but wanted it to look different, then you can create a view object with ExtJS and have the Grid do things that jqGrid can only dream of doing at the moment. But going the ExtJS route you will need to be prepared to really learn OOP as this is what this framework is based heavily on. But the license for ExtJS is not for everyone either. So I would sit down and work out what your project is going to need now, and may need in the future. And if you need a well rounded, optimised framework then I would consider going the ExtJS path. If you don't need the bells and whistles and you only ever wanting the Grid widget, then jqGrid might be the way to go. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543


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

Search cf-newbie

October 24, 2014

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

Designer, Developer and mobile workflow conference