Skip to content
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

Bug with ExpandRow if I have another expand row tables inside #889

Closed
kosuha606 opened this issue Apr 1, 2019 · 0 comments
Closed

Bug with ExpandRow if I have another expand row tables inside #889

kosuha606 opened this issue Apr 1, 2019 · 0 comments
Labels

Comments

@kosuha606
Copy link

kosuha606 commented Apr 1, 2019

Hello, if we have expand row in table and inside this expand row also have expand row table and inner tables have disabled property on expand button, then top expand button what doesn't have disabled not work.

I think what it can be fixed here
https://github.com/kartik-v/yii2-grid/blob/master/src/assets/js/kv-grid-expand.js#L118

$icon = $el.find('.kv-expand-icon')
replace to 
$icon = $el.find('>.kv-expand-icon')

image

PS. Such table works fine in release 3.0

@kartik-v kartik-v added the bug label Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants