Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Get and Set CF Grid row

Guest
Jan 20, 2009 Jan 20, 2009
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!
TOPICS
Advanced techniques
308
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 20, 2009 Jan 20, 2009
LATEST
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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources