List component?

UI Components for React
Post Reply
fzammetti
Posts: 1
Joined: 30 Apr 2021, 22:05

30 Apr 2021, 22:12

Hi,

I'm just checking out PrimeReact for the first time, and I feel like I must be missing something because I can't seem to find a simple List component like, for example, Material-UI offers (https://material-ui.com/components/lists/). I've found ListBox, OrderList and PickList, but none of them are really the same thing. I've also found DataScroller, but again, it's close, but it's not quite the same thing.

Like I said, I feel like I MUST be missing something - and it'll probably be something pretty obvious in retrospect! - but I'd really appreciate someone pointing me in the right direction :)

Thanks!

turkceng
Posts: 6
Joined: 19 Sep 2019, 22:47

06 May 2021, 05:16

Hi,

I think you may use menu model for some use cases of material list.

http://primefaces.org/primereact/showcase/#/menu

mert.sincan
Posts: 4710
Joined: 29 Jun 2013, 12:38

06 May 2021, 13:08

Hi,

Yes, you can use menu components or listbox component with template options. Please examine 'Template' section; https://primefaces.org/primereact/showcase/#/menumodel
You create items according to your needs.

https://primefaces.org/primereact/showcase/#/listbox
https://primefaces.org/primereact/showcase/#/menu
etc.
Best Regards,

mert.sincan
Posts: 4710
Joined: 29 Jun 2013, 12:38

06 May 2021, 13:17

Hmm, I agree with you now. This situation causes complete confusion in Users. It will be really good to create a new component named List on 6.4.0.

Thanks a lot for your feedback!
Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests