cancel
Showing results for 
Search instead for 
Did you mean: 

POD Plugin question

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member185234
Active Participant
0 Kudos

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

Former Member
0 Kudos

Thank you, Oksana,

This solves my issue!

Stanly

Answers (0)