You can turn off context menu; this should increase performance significantly.
Is there a way to disable the possibility to drag and drop the columns ?
for example, a property such as, enableColumnsChangeOrder=false ?
I have turned off the context menus, drag and drop etc, anything I could and the performance is now acceptable and almost as fast as the regular datatable.
I am not totally excited about the approach I took though and it needs to be cleaned up but the process is this:
1. get the source code for the component
2. copy it into your web application as is package and all
3. comment out a bunch of code including the parts that render context menus
4. test to make sure the component still works
The right way to do this would be to properly subclass the renderer and abstract renderers and register your new renderer as the renderer for the table. The problem is that their abstract renderer has a lot of private code that makes this impossible, you end up having to copy their code and alter it.
Another option would be to copy their cdk folder to a new folder and make your changes there. Thereby creating a new extendeddatatable of your own based on theirs.
To the other poster, how do you disable the context menus? I don't see a property anywhere to do that.
look at the lates rf-manual, there is a property enableContextMenu.
ok, i disabled the context menus and it is a lot faster, thanks
Could you please tell me how did you disabled the context menus? I am new in richfaces and I didnt find it..
used enableContextMenu="false" at extended data table component.
I hope you can help me to fix a problem. I Have a rich:dataTable wich is super super slow.
In fact, when i'm filtering by a column, the time is spent on the server ; the whole page is reloaded many times : all other components of the page are reloaded by calling out the database. I don't know why
Can you help me please ?
I'm using Richfaces3.3, JBoss 5.1 and Jboss-Seam 2.2