on 06-30-2015 1:42 PM
Hi SDK Experts ,
I created jsp with ‘dataTable’ component for POD Plugin and want to use the same POD plugin for standard and touch POD .
Can we somehow control that ‘pager’ is displayed for touch POD and ‘scroll bar’ for standard POD ?
Thanks ,
Stanly
Hi Stanly ,
If you want to make it flexible , you can control this from managed bean class , for example method to get browsing mode:
public String getBrowsingMode() {
if (isTouchDevice()) {
return "pager";
}
return "scrollbar";
}
and example in JSP to bind 'browsingMode' attribute to method :in managed bean class
<sap:dataTable id="browse_table" binding="#{browseTableConfigurator.table}"
width="100%" height="100%" rows="20"
value="#{browsePlugin.browseList}" var="row" first="0" browsingMode="#{browsePlugin.browsingMode}" >
</sap:dataTable>
Please let me know if you need more help!
Kind Regards,
Oksana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.