Skip to Content
0
Feb 16, 2015 at 06:07 AM

How to restrict table rows to be display only 20 and if rows are more than 20 ho to handle them as shown below table?1

1672 Views

Hi Experts,

How to restrict table rows to be display only 20 and if rows are more than 20 how to handle them as shown below table using sap.m.table.

how to add navigation like this in sap.m.table.

Thanks In Advance.

<Table id="idProductsTable"
inset="false"
items="{
path: '/ProductCollection',
sorter: {
path: 'Name'
}
}">
<columns>
<Column
width="12em">
<Text text="Order" />
</Column>
<Column
minScreenWidth="Tablet"
demandPopin="true">
<Text text="Customer" />
</Column>
<Column
minScreenWidth="Tablet"
demandPopin="true"
hAlign="Right">
<Text text="Currency" />
</Column>
<Column
minScreenWidth="Tablet"
demandPopin="true"
hAlign="Center">
<Text text="Amount" />
</Column>
</columns>
<items>
<ColumnListItem>
<cells>
<Text text="{Order}" />

<Text text="{Customer}" />

<Text text="{Currency}" />

<Text text="{Amount}" />
</cells>
</ColumnListItem>
</items>
</Table

Regards,

Irfan

Attachments

Capture.JPG (22.7 kB)