How to get Handson table data source after filtering with header

Tags: #<Tag:0x00007f8b1d5c8f50>

Hi,

I want to get Handson table data after filtering with column header. If I am using getdata it is giving only row values not column hereder.

Please let me know to get this.

Hey @fayejitendra

the getData() methods always relate to data. If you want to get a column header that has to be done separately.

https://handsontable.com/docs/7.3.0/Core.html#getColHeader

Hi, Thanks for you replay.

Is there any way to get columns and row data in single object.

Thanks

there are 5 ways to get data

  • getSourceData() - that’s the data for the whole table in the way you defined it in the first place
  • getData() - data after all the changes made by users
  • getDataAtCol() - data at a given index
  • getDataAtRow() - data at a given index
  • getDataAtCell() - data of a specific cell

Additionally if you use objects you get

  • getDataAtProp()
  • getDataAtRowProp()