OverviewSince 4.0 The mobi:dataView component renders lists of data in a table. It is more simplified than ace:dataTable and is geared for mobile devices, in terms of the user interface and performance. Getting StartedThe basic use case is very straightforward. The value references a list of data objects, which are rendered as rows, with their properties in mobi:dataViewColumn's. <h:form> <mobi:dataView value="#{bean.items}" var="item" rowStripe="true"> <mobi:dataViewColumns> <mobi:dataViewColumn headerText="Property A" value="#{item.propertyA}" /> <mobi:dataViewColumn headerText="Property B" value="#{item.propertyB}" /> <mobi:dataViewColumn headerText="Property C" value="#{item.propertyC}" /> </mobi:dataViewColumns> </mobi:dataView> </h:form> Attributes
The value specifies the list or instance of DataViewLazyDataModel that contains the data to be displayed. The var attribute specifies the variable name to be used when rendering the columns or the details region. The rowStripe attribute is a flag to enable background shading on the odd numbered rows. Event ListenersNone. Client Behavior Events
JavaScript APINone. Keyboard SupportNone. Known IssuesNone. Additional ResourcesSample ApplicationsThis component appears in the following ICEfaces sample applications: TutorialsThis component appears in the following ICEfaces tutorials: None |
DataView
© Copyright 2021 ICEsoft Technologies Canada Corp.