Author Topic: how to print grid data AS IS  (Read 1905 times)

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
how to print grid data AS IS
« on: October 11, 2016, 04:39:57 pm »
Hi,
is there any option to print Grid data with all cell styles data + user selected filter applied, sort

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: how to print grid data AS IS
« Reply #1 on: October 12, 2016, 09:34:12 am »
Filtered & sorted rows are exported/ printed by default.

Only inline cell styles can be exported for which you need to pass (render: true) to exportData method.

Code: [Select]
  var exportHtml = this.exportData({ format: 'htm', render: true })

Reference:

http://paramquery.com/pro/api#method-exportData
« Last Edit: October 12, 2016, 09:41:58 am by paramquery »