There are issues with datatable column resizing in 3.0.M2-SNAPSHOT that result in what I'd regard as a poor user experience.
The first issue is random column resizing. To see this open http://www.primefaces.org/showcase-labs ... izable.jsf and perform the following steps:
1. Resize the Color column to about 1cm. This will not work, which may be correct as the Color column needs more than 1cm of space.
2. Resize the Year column making it about 3cm wider. This will work, however, not only will the Year column become wider, the Model and Color columns will also become smaller which was not desired.
3. Resizing any column other than the first column will now appear to have a random effect on the size of all columns.
4. Resizing the first column appears to fix things.
The second issue is the column resizer, i.e., the small div that the user clicks and drags to resize a column. This div only overlaps the last few pixels at the end of a column. It would be better if it overlapped the last few pixels at the end of a column and the first few pixels at the start of the next column. This would result in a better user experience. Currently, when the user aims at the column resizer, they will miss it about 50% of the time.
Poor user experience when resizing in datatable
Hi,
I agree with callahan. The column resizing is very strange and buggy in PrimeFaces. All issues are well reproducable in a few seconds. Can you not use any proved and ready-to-use soltions instead of "home grown" one?
That's not a critique, no, but I think it's not possible to develop a bug free widget or advanced JS functionality inside of just one release cycle. Widgets developers polish up your widgets for months / years. Why not take a ready-to-use solution and adjust it for own purposes?
I agree with callahan. The column resizing is very strange and buggy in PrimeFaces. All issues are well reproducable in a few seconds. Can you not use any proved and ready-to-use soltions instead of "home grown" one?
That's not a critique, no, but I think it's not possible to develop a bug free widget or advanced JS functionality inside of just one release cycle. Widgets developers polish up your widgets for months / years. Why not take a ready-to-use solution and adjust it for own purposes?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
We still couldn't manage to make resizable play nice.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Regarding using a third party widget, remember the YUI times? They bring their own trouble. I'd rather fix my own bugs rather than theirs plus mine.
This comes from an experience.
Problem is any kind of datatable is way too complicated.
This comes from an experience.
Problem is any kind of datatable is way too complicated.
Hello Cagatay,
Maybe this can help you to manage resizable columns http://robau.wordpress.com/2011/06/09/u ... th-jquery/
The table looks bad in the demo, but resizing is fast and error free (I have played 1-2 min. with it)
Good luck.
Oleg.
Maybe this can help you to manage resizable columns http://robau.wordpress.com/2011/06/09/u ... th-jquery/
The table looks bad in the demo, but resizing is fast and error free (I have played 1-2 min. with it)
Good luck.
Oleg.
Last edited by Oleg on 29 Jun 2011, 11:26, edited 1 time in total.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Looks good Oleg, we'll check thanks, also looking at other solutions that we can borrow for this particular functionality. I'm actually fine with using a third party widget for a specific feature like resize but not for the core datatable like yui datatable, jqgrid and more.
Writing a home grown widget is a challenge but it pays of in the end since we have more flexibility.
Writing a home grown widget is a challenge but it pays of in the end since we have more flexibility.
And I agree with Cagatay - "home grown" datatable for JSF library is much better than one from the third-party lib. I see here advantages for "home grown" datatable. PF datatable looks very well too. That's for sure.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 56 guests