predixdesignsystem / px-data-grid

Predix UI component which defines a data grid
https://www.predix-ui.com/#/elements/px-data-grid
Apache License 2.0
12 stars 20 forks source link

Any column option should not be hard-coded in the app for advance filter #797

Closed sansantosh closed 5 years ago

sansantosh commented 6 years ago

For some use cases filtering by 'Any column' option is not required. There is no way to get rid of this option because it is hard coded in the code.

      optionList.push({
        key: '-any-',
        val: 'Any column'
      });
evanjd commented 5 years ago

@sansantosh I've added the property disable-all-columns-filter to px-data-grid to allow the "Any column" filter to be suppressed. This is off by default. This is available from release v1.2.0.