Hi,
I have one scenario to use/ make UnIdentical items in DataGrid Component.So i thought to make/use colspan and rowSpan for the dataGrid element.But as per old threads colspan only applicable to the datatable component.viewtopic.php?f=3&t=16631 Actual scenario is whenever the user selects particualr item in datagrid component then that component needs to be enlarged with more details.
After selecting an item it needs to expanded(for example 2*2) and remaining items needs to be auto adjusted
http://s1272.photobucket.com/user/jsudh ... 4.png.html
Is to possible to make it with any PF data iteration components?
UnIdentical items in DataGrid after item selection
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
So it is not only colspan, but dynamic colspan as well... Should elements flow right and down if something is selected? That would make a very jumpy ui...After selecting an item it needs to expanded(for example 2*2) and remaining items needs to be auto adjusted
Because the items should be in tabular format(or proper order).DataGrid is well suite for that of design .And no need of paging and lazyloading here.kukeltje wrote:Why pf data iteration components? For the paging and lazy loading?sudheer wrote:Is to possible to make it with any PF data iteration components?
Exactly.It is dynamic colspan not just by simple colspan.Yes,selected element should flow right and down(depending on space availablity).It is very jumpy ui.So i thought to integrate other JS libraries like this http://masonry.desandro.com/kukeltje wrote:So it is not only colspan, but dynamic colspan as well... Should elements flow right and down if something is selected? That would make a very jumpy ui...After selecting an item it needs to expanded(for example 2*2) and remaining items needs to be auto adjusted
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
Yes,You are right.It needs to be done with other flexible js lib and not just with CSS partkukeltje wrote:The I think (am almost 100% sure) you need this additional library... I tried with plains divs and sizing/floating/... but to no avail...
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
- andyba
- Expert Member
- Posts: 2473
- Joined: 31 Mar 2011, 16:27
- Location: Steinfeld, near Bremen/Osnabrück, DE
- Contact:
Please don't reply to old threads like this, it is against the forum rules.
But, check this out: http://www.primefaces.org/showcase-ext/ ... idGrid.jsf
But, check this out: http://www.primefaces.org/showcase-ext/ ... idGrid.jsf
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests