Try:
alert( trow.get(0).rowIndex );

On Feb 10, 8:19 am, pantagruel <rasmussen.br...@gmail.com> wrote:
> >  rowsBefore = row.rowIndex;
>
> Ok, but jQuery("#activator" + input).parent().parent(); selects the
> row, but when I try to get rowIndex of that selected row I get
> undefined back.
>
> var trow = jQuery("#activator" + input).parent().parent();
>
> alert(trow.attr("class")); // the class of my row
> alert(trow.rowIndex); // returns undefined.
>
> Cheers,
> Bryan Rasmussen

Reply via email to