Results 1 to 1 of 1

Thread: SOLVED :: Newbie Question :: How to get the rowIndex ?

  1. #1

    Default SOLVED :: Newbie Question :: How to get the rowIndex ?

    Hi guys,
    first my apologies if this question has been asked.
    After reading through the Forum I found that I can get the selected row, but it returns an 'object'.
    Now I am trying to get the RowIndex to actually be able to use the data.
    Here is what I have so far:
    Code:
    function onDelete() {
            var index= grid.getSelectionModel().getSelected();
        }
    Not much I know, but I am stuck I do not know how to get the RecordIndex or any usable data out of the returned value.
    Please keep in mind, I am very new to Extjs and Javascript, so please try to dumb it down so I can understand it, too.

    Thanks a bunch

    =========================
    Found the solution after some serious googeling...... THANKS all
    Last edited by BluePhoenixNC; 20 Jul 2009 at 8:08 PM. Reason: SOLVED :::

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •