Comments (3)
Firstly, thank you for trying out the grid.
I'm having trouble reproducing the issue you're describing. I've just updated the demo page to the latest build, does it still happen there? http://www.dobyjs.com/grid/examples/#remote
As for viewing the remote request -- the demo doesn't use real AJAX requests right now as we'd need to setup a server that feeds real data for it. We will eventually.
from doby-grid.
Thanks for updating the demo, this isn't an issue anymore.
I put a break point in remote.js to see where the ajax requests would be happening. It seems that I would need to implement multi sorting, limit and offset on my result set and a method to return all unique results for grouped & nested group column values. And because of the additional ajax request probably be restrictive on what columns are allowed to be grouped so the query result wouldn't be too large.
Overall, I am very impressed - Thank you. I might trial it soon with some real data.
Looks like I can use "options.formatter" for setting a grouping formatter?
Filter glyphs for the column headers may be useful as the filter row can be hidden with filters still applied.
from doby-grid.
If you look on https://github.com/globexdesigns/doby-grid/wiki/Remote-Data you'll see that remote fetching requires three different functions. One to fetch counts, one to fetch data and one to fetch grouping data if you want to support that. As long as your server returns the data is the expected format (or as long as you reformat the data accordingly on the front-end) -- the grid will automatically figure out the rest.
options.formatter
is used to format the cells in your grid. It's a translation layer between "what your data is" and "how your data is presented". For example, you may want to display booleans as a checkmark icon, or you may want your numbers formatted in a particular way. The grouping will always be done on the data in your data set.
from doby-grid.
Related Issues (20)
- cmd+c scrolls at the bottom of the page HOT 2
- Add unit test for new `options.forceRemoteSort` option
- 0.1.1 Release Deployment Tasks
- Initializing Doby grid without columns
- Scrolling will jump when scrolled to bottom and selecting something HOT 2
- Add unit test for `options.menuExtensionsPosition` option
- Resizing the grid will always call the columns formatter HOT 5
- 0.1.2 Release Deployment Tasks
- setSorting does not apply sort icon to sorted column HOT 1
- postprocess not getting called on all rows (0.1.1)
- changing data.height does not affect position of subsequent rows
- Create a new option that allows you to control the margin between the grid and the scrollbar
- Scrollbar is not removed when groups are collapsed HOT 4
- Provide access to events to capture when the quick filters are hidden or shown
- 0.2.0 Release Deployment Tasks
- Grunt build throws error HOT 1
- Resizable Rows and Nested Grids - Nested grids are destroyed when grid or row is resized HOT 1
- clicking on the same cell causes the contextmenu to appear multiple times HOT 1
- Exporting table to HTML doesn't escape HTML tags HOT 1
- How to disable Export Option ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doby-grid.