Author Topic: Apply both Check all record and filter checkbox  (Read 2120 times)

alonewolf149

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 56
    • View Profile
Apply both Check all record and filter checkbox
« on: February 17, 2020, 05:25:35 pm »
Hi, i got issue

Current we using filter checkbox : http://prntscr.com/r3hsou

but i also want feature check all such : http://prntscr.com/r3ht9f

Any Solution ?
Thanks
Thanut

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6307
    • View Profile
Re: Apply both Check all record and filter checkbox
« Reply #1 on: February 17, 2020, 06:02:51 pm »
Check all feature in header cell of checkbox column can be added by setting column.cb.header to true.

Code: [Select]
{
       dataIndx: 'chk',
       dataType: 'bool',
       cb: { header: true }
},

Example: https://paramquery.com/pro/demos/checkbox

alonewolf149

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 56
    • View Profile
Re: Apply both Check all record and filter checkbox
« Reply #2 on: February 17, 2020, 06:32:09 pm »
you sample is showing only checkbox, i want to apply checkbox and filter on same column

can u provide sample ?

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6307
    • View Profile
Re: Apply both Check all record and filter checkbox
« Reply #3 on: February 18, 2020, 09:51:49 am »
Both can also be used together.

Example: https://paramquery.com/pro/demos/filter_header_local