HZGN.COM
welcome to my space
X
Welcome to:hzgn.com
Search:  
NAVIGATION: Home >>

[SOLVED] load record value from grid

Published by: mike 2009-01-07
  • danvega.org: Custom Grid Editor::
    Scratch that request, I figured out that your complete example had commented out the variables for grid, cm, and stIndex. Problem solved.
    http://www.danvega.org/blog/index.cfm/2008/3/12/Custom-Grid-Editor
    HOME
    I would like to load a value from the column eg. "xxx" after double click on the row.


    grid.on('rowdblclick', function (grid, rowIndex, e) {

    }


    i suppose it may looks like this but i don't know how to get value from record


  • Edit your first post then modify the title.

  • ASP.NET GridView order of operation - C#::
    When I select a record from the GridView I want to load the key values into a NET GridView order of operation. Mar 21st, 2007. I solved the issue.
    http://www.daniweb.com/forums/thread72783.html
    HOME

  • wow it works!

    that's my code

    var fieldName = sm.getSelected().data.column_name;
    IBM - HealthAlliance goes paperless, filmless with the IBM Grid ::
    The growth of digital patient records and diagnostic images had outstripped the PACS administrator had to load the correct DVD into the jukebox or the
    http://www.ibm.com/software/success/cssdb.nsf/CS/CCLE-763L5W?OpenDocument&Site=smbhlth&cty=en_us
    HOME

    Printer Friendly Grid | The Dojo Toolkit::
    6 posts - Last post: Dec 12, 2008I have nearly solved the issue now The main concern was to somehow extract the data from the grid - which could then be converted to a
    http://dojotoolkit.org/forum/dojox-dojox/dojox-grid-support/printer-friendly-grid
    HOME

    evant, thanks a lot!

    p.s. how to change topic do SOLVED?


  • Have a look at http://extjs.com/deploy/dev/docs/?class=Ext.grid.RowSelectionModel&member=getSelected


  • hmm..i had RowSelectionModel() and i want only the data wich is in the column "xxx" in selected row after doubleclick


  • sorry my mistake i would like to have value from simple cell from clicked record


  • If you are using the cellSelectionModel, use this function as a handler of a button in tbar or bbar of the grid

    function(){
    var rowIndex = selectionModel.getSelectedCell()[0] ;
    var colIndex = selectionModel.getSelectedCell()[1] ;
    alert(rowIndex)
    alert(colIndex)
    var columnDataIndex = columnModel.getDataIndex(colIndex); //columnModel = your definition of columnModel
    alert(columnDataIndex)
    var rowComboValue = store.getAt(rowIndex).get(columnDataIndex)
    alert(rowComboValue)
    },


  • Ok, well read my first reply, it will get you on the right path.


  • Ok, then look at http://extjs.com/deploy/dev/docs/?class=Ext.grid.CellSelectionModel&member=cellselect





  • Red Hat's Rough Recovery From CFO Exit
    Windows Live Finds a New, Pre-installed Home
  • document write destroys html
  • change event in combobox
  • links disappear from one place and appear in another when selecting tabs in tabpanel
  • xmlreader debug
  • parsing a json return solved
  • define class on ajax call
  • generating javascript depending on user roles in net
  • referencing to accordion in viewport
  • how can i set a button s name
  • dynamically adding submenus
  • creating text nodes
  • columntree can we branch more
  • method dorender of gridview
  • trying to wrap text on multiple lines in tree
  • help understanding record store json
  • how to pass and manage custom data to rowexpander
  • question about ext form combobox
  • where is ext js manual
  • a window with tabpanel inside with gridpanel inside
  • extjs 2 0 asp net postback
  • textfield in a menu adapter and arrow keys
  • problem with global ext data store
  • get updater params back
  • listening to mouse on image within panel
  • grid combobox displayfield and valuefield
  • pdf documents in tabpanels
  • how to add button to titlebar of a region
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about [SOLVED] load record value from grid , Please add it free.

    About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 hzgn.com All Rights Reserved
    Site made&Support support@hzgn.com    E-mail: web@hzgn.com