all groups > flash actionscript > november 2004 >
You're in the

flash actionscript

group:

Find Row Number in DataGrid



Find Row Number in DataGrid mshe
11/26/2004 9:26:29 PM
flash actionscript: Is there a command to find the row number of a value in a cell? For example,
my datagrid has: 2 3 4 5 6 Is there a commdn to go DataGird.Find(4) which
will return rowIndex 2 (Row 3 - 1 for a zero based index)?
Re: Find Row Number in DataGrid J_o_h_n_n_y
11/27/2004 4:47:55 AM
There is no prebuilt way to do that. One way I can think of is to make a
function that you would pass in the value you are looking for and get the row
index back. All you would have to do is loops through the rows and check the
values of a specific column. You could even use the 'prototype' so you could
call it the exact way you refer to above. Let me know if you need me to write
the function for ya.
Re: Find Row Number in DataGrid mshe
11/29/2004 1:27:07 AM
AddThis Social Bookmark Button