简体   繁体   中英

How can I render the fields and datatable below image using <p:panelGrid>?

I have no idea how to render the below image with input fields and datatable with the exact alignment in UI.

I refered some documentation with examples,but i can't find the pattern for datatable.Attached the image below.Kindly share your thoughts for this as outline.

在此处输入图像描述

I would consider using PrimeFlex instead of p:panelGrid .

You basically need a 3 column grid layout. See the first example: https://www.primefaces.org/primeflex/gridsystem

An the input can be done using form layout. See the horizontal examples: https://www.primefaces.org/primeflex/formlayout

For the data.table, simply use the p:dataTable . See: https://www.primefaces.org/showcase/ui/data/datatable/basic.xhtml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM