#10914 closed enhancement (fixed)
grid: add paginator
Reported by: | Matthias Sch. | Owned by: | evan |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | DojoX Grid | Version: | |
Keywords: | Cc: | David Schwartz | |
Blocked By: | Blocking: |
Description
is it possible to add a paginator to the grid like: http://www.trirand.net/demoaspnetmvc.aspx
Attachments (2)
Change History (17)
comment:1 Changed 11 years ago by
Cc: | David Schwartz added |
---|
comment:2 Changed 11 years ago by
We are working on this feature for grid. There is no ticket in place for this feature at this time; I suppose we can now use this one.
BTW, I don't understand why it's so hard to envision having paging and scrolling working together. In fact, the example provided above uses both.
comment:3 Changed 11 years ago by
David, that example has a scrollbar. It does not use virtual scrolling. Virtual scrolling and pagination defeat each other. Having the overhead of both in the same widget is probably undesirable.
comment:4 Changed 11 years ago by
By "I don't understand why it's so hard to envision having paging and scrolling working together. In fact, the example provided above uses both.", I think David also meant using paging and real scrolling(non-virtual) just as the sample shown. Yes, pagination conflicts with virtual scrolling, so once pagination finished, only one can be enabled in EnhancedGrid?. Will use this ticket for tracking EDG pagination.
comment:5 Changed 11 years ago by
Owner: | changed from bryanforbes to Eavn |
---|
looks like these are ones that evan is working on
comment:6 Changed 11 years ago by
Owner: | changed from Eavn to Evan |
---|
comment:7 Changed 11 years ago by
The new EDG pagination (targeting 1.6) looks like as attached "edg-pagination.JPG". Patch's being uploaded...
comment:8 Changed 11 years ago by
should a paginating grid be a separate widget? how much of the grid or edg grid code applies? a paginating grid widget would likely be much smaller and lighter than the existing grid widget.
comment:10 Changed 11 years ago by
Once the "pagination.patch" applied, please use dojox/grid/tests/enhanced/test_enhanced_grid_pagination.html for try
comment:11 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:12 Changed 11 years ago by
comment:13 Changed 11 years ago by
(In [23028]) Refs #10914. Proxy commit for evan (CCLA). Fixed incorrect encoding of the file in trunk. Code clean: coding style, remove redundant code, more cleaned fetching logic. Reuse connect/disconnect in _Plugin base class. Fixed a potential memory leak issue caused by mixin'ing wrong parameter in _createPaginators()
comment:14 Changed 10 years ago by
Owner: | changed from Evan to evan |
---|
comment:15 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|
David may be able to point us at the discussion or another ticket. My take is that a paginator is a very different widget, since the 'virtual scrolling' feature seems directly at odds with pagination. It's hard to me to think of a case where the two would be needed together.