How to get the id of a particular row in Gridpanel when click on edit or delete?

  1. #1

    How to get the id of a particular row in Gridpanel when click on edit or delete?

    Hello,

    I have a gridpanel having column rollno, name, delete and edit command.
    I want to know how can I fetch the rollno(id) when I click on edit or delete button of a particular row?

    Please help me...



    Vaishali Khatri
    Kintu Designs PVT LTD.
  2. #2
    Hi,

    The "record" argument is passed to a GridPanel's listener.

    Example
    <Command Handler="alert(record.id);" />
  3. #3
    Thanks,

    I got the other alternative from below link
    http://forums.ext.net/showthread.php...om-a-GridPanel



    Vaishali Khatri
    Kintu Designs PVT LTD.

Similar Threads

  1. GridPanel row edit opens in single click
    By pooja in forum 1.x Help
    Replies: 0
    Last Post: Aug 10, 2012, 6:09 AM
  2. Save/Edit/Delete in Gridpanel
    By rajputamit in forum 1.x Help
    Replies: 1
    Last Post: Oct 25, 2010, 1:55 PM
  3. Replies: 0
    Last Post: Jul 23, 2010, 6:35 AM
  4. Replies: 0
    Last Post: Oct 05, 2009, 6:09 AM
  5. Edit/Delete GridPanel
    By Maia in forum 1.x Help
    Replies: 1
    Last Post: Apr 27, 2009, 11:07 PM

Posting Permissions