Assign value to control when row of GridPanel is selected....

  1. #1

    Assign value to HiddenField when row of GridPanel is selected....

    How can i assign the value of a cell to HiddenField when a row of GridPanel is clicked?
    Last edited by danferd; Sep 04, 2010 at 9:35 AM.
  2. #2
    Hi,

    Use RowSelect event of selection model
    <RowSelect Handler="#{Hidden1}.setValue(record.get('CellDataIndex'))"/>
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Thanks! It works...

Similar Threads

  1. Replies: 0
    Last Post: May 21, 2012, 3:02 AM
  2. Replies: 5
    Last Post: Jun 08, 2011, 12:19 PM
  3. Replies: 3
    Last Post: Dec 16, 2010, 12:11 PM
  4. Replies: 1
    Last Post: Oct 14, 2010, 12:09 AM
  5. Replies: 2
    Last Post: Dec 25, 2009, 3:56 PM

Tags for this Thread

Posting Permissions