Skip to content

Adding Check Boxes While Applying the Filters. #185

@premiyamohan

Description

@premiyamohan

Add this code in PivotTableUI.js

'p',
{
key: x,
onClick: function onClick() {
return _this2.toggleValue(x);
},
className: x in _this2.props.valueFilter ? '' : 'selected'
},

After this line add the below code for check boxes

          // ✅ Checkbox added here
          _react2.default.createElement('input', {
			type: 'checkbox',
			checked: !(x in _this2.props.valueFilter),
			onChange: function onChange(e) {
			e.stopPropagation(); // prevent p click
			return _this2.toggleValue(x);
				}
			}),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions