Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Design Studio SDK: Paginator Component

$
0
0

Purpose

A basic wrapper on SAPUI5 Component

 

Implementation

Simple wrapper as of today with some BIAL scripts on top.

 

Short Demo (as animated GIF)

20140911-200600_capture.gif

 

Styles

no extra styles as of today

 

Properties
currentPageintRepresents the current page (first page has index 1, not 0, to match the visual number)
numberOfPagesintRepresents the overall number of pages that are embedded into the parent control

(most important taken from: Paginator - SAPUI5 Demo Kit)

 

Events
onPageChangeEvent is fired when the user navigates to another page by selecting it directly, or by jumping forward or backward.


Scripting Functions

 

ScriptsShort Description

void setCurrentPage(

  /** Current page number */ int currentPage)

Sets the current page number

int getCurrentPage()Returns the current page number

void setNumberOfPages(

  /** Overall number of pages */ int numberOfPages)

Sets the overall number of pages that are embedded into the parent control
int getNumberOfPages()Returns the overall number of pages that are embedded into the parent control


Example Application

An Application with example can be downloaded at the BIAPP Repository:

Releases


Source Code & Licensing

This component is for free use. It is under the Open Source Apache Version 2.0 License.

 

Important MaintenanceNotice (... as I am SAP Employee)

The component is NOT delivered under SAP maintenance license.

You cannot claim any Support on this component from SAP!


The components are created on "private" basis - you can use them as is. I can modify, correct or improve - but there is no obligation to do it. Of course I will try to correct bugs or improve the component as long I can.

 

Have Fun!


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>