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

Uncaught TypeError: Cannot read property 'outerWidth' of undefined #47

Closed MustafaMagdi closed 9 years ago

MustafaMagdi commented 9 years ago

I'm always getting this error in chrome console after I search in dynagrid. you can catch it even in you demo page http://demos.krajee.com/dynagrid-demo

fwroman commented 9 years ago

I have the same problem with kartik gridview ExpandRowColumn, your solutions is already in GridView.php of kartik-grid, this line is included

 $postPjaxJs = "setTimeout({$this->_gridClientFunc}(), 2500);";

I'm using Tabx with two items to render a gridview inside of each one, the problem appears when I click the expandRowColumn contained in tabx item with active = false attribute, I'm using pjax to filter data in the gridview too...

Next code is triggered when the page is already loaded, to update the data filtered:

$.pjax.reload({container:"#pjaxResumenInvImp"});