Forum Discussion

msap's avatar
msap
Frequent Contributor
6 years ago

Grid:how to search and return for single row where two columns are compared from multiple records

any suggestions

:In a Grid using Java script how to search and return return the row from Grid where two columns are compared from multiple records.

compare both columns to avoid duplicate value from one of the rows.

 

6 Replies

  • msap's avatar
    msap
    Frequent Contributor

    Columns= new Array ("param1","param2");
    Values=new Array("SUB","TEST");
    RowIndex = Grid2.FindRowByMultipleValues("Columns", "Values");

     

     not working as findrowbymultiplevalues method gives an error. FindRowByMultipleValues("Columns", "Values");object not found.

    any ideas.

  • Could you try this...  RowIndex = Grid2.FindRowByMultipleValues(Columns, Values);

     

    Double Quotes should be the issue here - [Grid2.FindRowByMultipleValues("Columns", "Values");]