-
-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grid checkbox selection (css) not works correctly #917
Comments
It seems you are talking about the highlight. You seem to have other CSS on the page applied to the rows which maybe over riding the background styles. Cross check and override this CSS behavior and change the checkbox column row highlight class property to fit your use case. |
@kartik-v I checked and my css is ok. The problem occur because some event is removing the class 'selected-row' from previous selected row, but it problem is fixed after applyFilter is applied on grid probably because event is unbinding. It may be an update on Yii2 that needs to be adjusted in this widget. Posted here yiisoft/yii2#17466 |
Resolved with the above enhancement to accomodate the changes in yii2 core. You can cross check this in the updated grid demo. |
yiisoft/yii2: 2.0.23
kartik-v/yii2-grid: v3.3.2
PS: The problem happens on first render, after filter or order grid selection works correctly.
The text was updated successfully, but these errors were encountered: