Filtered Grid...row number?

Discussion in 'Questions (Windows Mobile)' started by laiyilam, Aug 15, 2007.

  1. laiyilam

    laiyilam Member

    Hi, :sign0085:

    I have a grid which has 7 ToDo records from a csv file.

    RecID, OK, Due, About, Category
    1, OK, 04/12/2007, RecID=1, Plk1984
    3, , 03/11/2007,RecID=3, Plk1984
    5, OK, 01/28/2007, RecID=5, Personal
    11, , /31/2007, fish, Plk1984
    21, OK, 08/15/2007, RecID=21, Plk1984
    22, , 08/09/2007, 8:30 Meeting, Plk1984
    23, OK, 08/11/2007, 4.30 Fish, Personal

    When the "OK" records are filtered out, the grid show 3 records only:

    RecID, OK, Due, About, Category
    3, , 03/11/2007,RecID=3, Plk1984
    11, , /31/2007, fish, Plk1984
    22, , 08/09/2007, 8:30 Meeting, Plk1984

    When I tap on the 3rd row(RecID=22), the returned row number is 5.
    I could not get the correct data from this row.
    It is expected to return 2, i.e. the 3rd row show on grid.:sign0148:

    How can I get the correct data from the RecID 22 in this case?

    thanks

    Lai
     
    Last edited: Aug 15, 2007
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you post some of your code?
     
Loading...