Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
I am trying to use the row data in an igxGird - the column's value in each field and can't find how to do it.
posted

Hi, be able to double click on a cell in a row in a grid, get the information from that row, then use that information to do something else.

For instance, if I have a row with football teams that won the World Cup by year in a list, I want to be able to double click on a row and say view the team members for that year.

Team          Year

-----------------------

Brazil           1967

I want to be able to read the values from the row ("Brazil" and "1967") and use it to query some other database.

I tried a couple of ideas but got lost.

Thanks,

Jerry

Parents
No Data
Reply
  • 90
    Verified Answer
    Offline posted

    I found it 

    pickLine(evt) {
                  
          const name = cell.row.rowData.Name;
          const  addr1 = cell.row.rowData.Address1;
            
    // do your stuff here
    }
    I thought rowData was an array - it's not.
Children
No Data