openanthem / nimbus-core

Getting Starting with NIMBUS-CORE
https://anthemopensource.atlassian.net/wiki/spaces/OSS/pages/157024674/Quickstart+Guide
Apache License 2.0
10 stars 49 forks source link

Grid selection is refreshed on clearing filter #738

Open addulaajayreddy opened 3 years ago

addulaajayreddy commented 3 years ago

672 Issue Details

Type of Issue (check one with "X")

[ X ] Bug Report => Please search GitHub for a similar issue or PR before submitting
[ ] Feature Request => Please ensure feature is not already in progress
[ ] Support Request => Please do not submit support requests here, instead see: https://discourse.oss.antheminc.com/

Current Behavior

Grid selection getting refreshed on clearing filter

Expected Behavior

Grid selection to be retained on clearing filter

How to Reproduce the Issue

Steps to Reproduce

Enable row select and click on select button then apply a filter and clear the filter selection is cleared

Code Snippet

@Path(linked = false) @Grid(retainGridState = true, onLoad = true, headerCheckboxToggleAllPages = true, expandableRows = true, pageSize = "12", rowSelection = true, pagination = true, postButtonUri = "/button", postButton = true, postButtonTargetPath = "temp_ids", postButtonLabel = "Submit") @Label("Grid") private List<GridLineItem> lineItemDetails;

Environment Details