Coder Social home page Coder Social logo

Comments (5)

dudunegrinhu avatar dudunegrinhu commented on June 11, 2024

Kartik do you have any update on this issue?

from yii2-dynagrid.

kartik-v avatar kartik-v commented on June 11, 2024

It does work fine on my tests with allowThemeSetting property set to false.

Note that the theme is a required attribute in the DynaGridConfig model. It defaults to the kartik\dynagrid\Module::defaultTheme setting. So ensure you have this value set if you have overridden it in your themes.

from yii2-dynagrid.

dudunegrinhu avatar dudunegrinhu commented on June 11, 2024

Karthik,

This is my configuration and still didn't work.

DynaGrid::widget([
'columns' => $gridColumns,
'theme'=>'panel-info',
'showPersonalize'=>true,
'storage'=>'cookie',
'showFilter' => false,
'showSort' => false,
'showPersonalize' => true,
'allowFilterSetting' => false,
'allowSortSetting' => false,
'allowThemeSetting' => false,
'gridOptions'=>[
'dataProvider'=>$dataProvider,
'filterModel'=>$searchModel,
'filterSelector' => '#searchModel',
'showPageSummary'=>true,
'bordered' => true,
'striped' => true,
'bootstrap' => true,
'condensed' => true,
'responsive' => true,
'floatHeader' => true,
'pjax'=>true,
'resizableColumns' => true,
'panel'=>[
'heading' => ' Locations List',
'before' => '




',
'after' => false
],
'toolbar' => [
['content'=>
Html::a(' Refresh Grid', ['index'], ['class' => 'btn btn-info'])
],
['content'=>'
{dynagrid}'
],
],
],
'options'=>['id'=>'dynagrid-location-list']
]);

from yii2-dynagrid.

kartik-v avatar kartik-v commented on June 11, 2024

Ok I am providing an enhancement to fix this shortly.

from yii2-dynagrid.

kartik-v avatar kartik-v commented on June 11, 2024

You can check with updated code from dev-master now.

from yii2-dynagrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.