Coder Social home page Coder Social logo

Comments (8)

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

The dynagrid is used to set a custom pagesize or sort. It seems you are disabling that functionality? Then why do you need a Dynagrid (and not a normal yii2-grid) - is it just for the column realignment?

from yii2-dynagrid.

akorinek avatar akorinek commented on June 4, 2024

It's for column realignment, export and so on. Also, it would be nice from a reusable code standpoint not to have to mix yii gridviews with your gridviews. Also the styling is a bit different between the two.

from yii2-dynagrid.

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

Export is a yii2-grid functionality.

Dynagrid is used for realigning columns, setting and saving custom sort, setting and saving custom pagesize and save filters.

The way its designed it needs some code rehaul to support disabling of some of the above functionality. Will need to probably look at it later when I get time.

from yii2-dynagrid.

dvdkrgr avatar dvdkrgr commented on June 4, 2024

Any updates on this one? I want to display a DynaGrid for the filters, column realignment and so on. But it should display all the data without any pagination. Like @akorinek said setting pagination to 'false' will cause an error.

from yii2-dynagrid.

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

Disabling pagination is another issue. Please raise one. This can be taken up as an enhancement and will include this when I get time.

from yii2-dynagrid.

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

Refer enhancement #59. You can now set pagesize to 0 from the dynagrid configuration form to show all rows on one page.

If you want to disable pagination for all -- set Module::defaultPageSize to 0.

from yii2-dynagrid.

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

New enhancements added via #60 and #61.... you can now set pagination and sort to false for gridOptions['dataProvider']` to disable pagination and sort for the grid.

from yii2-dynagrid.

rmramyait avatar rmramyait commented on June 4, 2024

Hi... I am using Export menu and Pjax. I am having more than 1000 records.
In records per page , I cant able to selct 50,100,200. Only 20 records are displaying so in output Excel I am getting only 20 records

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.