Skip to main content
January 20, 2009
Question

Get and Set CF Grid row

  • January 20, 2009
  • 1 reply
  • 332 views
Hey guys.

I have a CFgrid that uses the
ColdFusion.Grid.refresh('Results');
function to refresh the grid every minute.
I want it to remember what row the user had selected (because that pulls information for another grid), and set the row to that again. So if they had row 2 selected, remember that, reload the grid, and set the row to that again. I need the javascript way to do this since the whole page operates without any page reloads. Or Ajax would work to. Let me know if you have any ideas. Thanks!
This topic has been closed for replies.

1 reply

Inspiring
January 21, 2009
while i can't tell you how exactly to do what you want, i can suggest
that you check ExtJS documentation - that's what cf8's cfgrid uses under
the hood.
be sure to check *version 1.1* docs as that's the version used by cfgrid:

http://extjs.com/deploy/ext-1.1.1/docs/

the same docs are also available in your cf8 install:
{cf_root}/wwwroot/CFIDE/scripts/ajax/ext/docs/index.html

hth

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/