Giter Club home page Giter Club logo

Comments (5)

kriszyp avatar kriszyp commented on June 21, 2024

I put together a more comprehensive test case for JsonRest to demonstrate how the paging, saving, and deleting works:
https://github.com/kriszyp/dgrid/tree/rest

from dgrid.

mchamplain avatar mchamplain commented on June 21, 2024

I had to do some changes to the application layout, so I gave dGrid another try, turns out that it's working properly, but the grid is not loading other pages if the height is set to 'auto'. I didn't have time to investigate more.

from dgrid.

kriszyp avatar kriszyp commented on June 21, 2024

The height of the rows or the height of the grid is set to auto?

from dgrid.

mchamplain avatar mchamplain commented on June 21, 2024

height of the grid. If I remember correctly, the grid was in a dijit content pane, with a div on top of it to hold a few buttons, (so height of 100% didn't work).
With height: auto, the grid filled the available correctly but when scrolling down the new results didn't appear anywhere (the json call is triggered).
At the end I wrapper the content pane in a Bordercontainer, with the grid as the only content of the center ContentPane, and putting the buttons in the header content pane. that work since I can set the height to 100%

from dgrid.

kriszyp avatar kriszyp commented on June 21, 2024

I am still not sure I understand how to reproduce this. By itself setting height: auto; on the grid will normally result in a zero height (since the overflow setting doesn't require that the grid take up any space). If you are using height: auto; in combination with making the scroller non-scrolling (overflow: visible) than scrolling doesn't take place there is no scrolling to be done, all the rows should be shown. If you want the grid to take up all the space of a parent except for a certain amount of space, you should probably use an absolutely positioned grid with top and bottom properties set to position it. with the right amount of margins.

from dgrid.

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.