Ricardo Borillo Domenech schrieb:
Hi,
I agree with you. It's necessary a more complex component derived from
QxListView.
Now, it's ok for me to implement pagging outside QxListView, but i have
a problem. How can i handle the sort event fired when i click in a
column? It's necessary to handle this even if you want to sort all the
dataset and reload de data in a concret page. Do you know what i mean?
I am not sure why you need something like paging. QxListView can easily
handle datasets with 10000 entries. If you want to paging inside more
data you just replace the content of the initial given array and update
the listview afterwards. The sort always sorts the current array which
is assigned with the listview. If you want to send this sort request to
the server you need to handle it someway different. Probably you can
have a look at QxListViewHeaderCell and send a patch (which is
compatible with the current behaviour) to allow an optional handling of
the sort stuff through some server based logic.
I think that the problem (IMHO) is than in QxListView columns are not
classes ...
This is typical for the grid. The same is true for the rows. I don't
understand why this related to the above problem.
More IMHO :)
I'm trying to adopt qooxdoo as a replacement of our desktop applications
(i think it's cool ;). In my enviroment a QxListView will be only an
base class, and the real usefull class would be QxDataGrid (look at the
attached image). In this enviroment the QxListView (that is amazing)
can't be used :(
Principal conditionants:
- Performance
- Multipage support for navigation, sort, filter, etc
- Data integration
What is your problem/question here? Why do you can't use it the way
shown in the image?
Sebastian
Thanks a lot
El mié, 04-01-2006 a las 22:26 +1100, Chris Ricks escribió:
Hi Ricardo!
I agree, but this may not belong in QxListView. Expecting a widget
already as complex as QxListView to handle that many records might be a
requirement if you want simple sorting for your entire dataset, but
creating a compound solution whereby the QxListView widget only contains
the currently visible data whilst handling other functions outside of it
may be easier (and allow for simpler development of QxListView).
What are your thoughts?
Best regards,
Chris
Ricardo Borillo Domenech wrote:
Hi,
I agree with the need of an editable grid, but I guess if it's possible
to add pagging/filtering support to the ListView. This feature will be
usefull when you have thousands of rows from a dataset.
Thanks,
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel