kartik-v / yii2-dynagrid

Turbo charge the Yii 2 GridView with personalized columns, page size, and themes.
http://demos.krajee.com/dynagrid
Other
74 stars 66 forks source link

Filtering breaks Javascript events (expandrow, customize...) #166

Closed Shinidoki closed 7 years ago

Shinidoki commented 7 years ago

Steps to reproduce the issue

All this was done on the Demo Page for Dynagrid. (http://demos.krajee.com/dynagrid-demo)

  1. Using the filter in a Dynagrid: grafik

  2. Following error is shown in console (Firefox): TypeError: o[t] is undefined - kv-dynagrid.min.js:13:3043 Using the non-minified version, shows following error: TypeError: data[option] is undefined - kv-dynagrid.js:158:17 The error in Chrome looks a bit different: Uncaught TypeError: Cannot read property 'apply' of undefined - kv-dynagrid.min.js:13 and: Uncaught TypeError: Cannot read property 'apply' of undefined - kv-dynagrid.js:158

  3. This breaks the javascript events in the grid. Expandrows cannot be expanded anymore and if you open the customizing dialog you can see that the select widget aren't properly initialized: grafik

Environment

Browsers

Operating System

Libraries

Isolating the problem