Coder Social home page Coder Social logo

Comments (3)

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

For point 1: At this stage, You will need to trap the submit event or on click event of the submit button and write your own javascript code/ajax action. Will check later if there is a better way for this.

For point 2: The export button will not get hidden when showPersonalize is set to false. This has been tested. You may want to check your code or if you are using a custom layout or template you may confirm with the logs.

from yii2-dynagrid.

rafaelwithoeft avatar rafaelwithoeft commented on June 11, 2024

I would like to thank his patience and willingness to help.

Point 2:
echo DynaGrid::widget([
    'storage' => 'db',
    'columns' => $columns,
    'options' => ['id' => 'lista_escritorio_grid'], // um identificador único é importante!
    'userSpecific' => false,
    //'toggleButton' => ['label' => 'Personalizar'],
    //'theme' => 'panel-primary',
     'showPersonalize' => false,
    'gridOptions' => [
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        //'showPageSummary' => false,
    ],
]);

this correct?

Image 1: personalize = false;
Image 2: personalize = true;

grid1
grid2

from yii2-dynagrid.

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

I will push a fix for this shortly.

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.