Problem with custom SAPUI5 Application(smarttable/grouping/selecting index)

Discussion Forum Design & UX Problem with custom SAPUI5 Application(smarttable/grouping/selecting index)
Viewing 2 posts - 1 through 2 (of 2 total)



I am creating a custom UI5 application, conntected to oData service. I am using smarttable(“ResponsiveTable”) with smartuserbar. When I am using responsive table, I am able to group a data, but I am not able to select an index from the table, because of table inside of smarttable, as you can see below:

This is my XML view:

<smartTable:SmartTable id=”smartTable” class=”smartTableContainer” entitySet=”Products” smartFilterId=”smartFilterBar” header=”Products”
tableType=”ResponsiveTable” useTablePersonalisation=”true” useVariantManagement=”true” showVariantManagement=”true”
persistencyKey=”UniqueAndStablePersistencyKeyTable” showRowCount=”true” initialise=”onSmartTableInit” height=”100%”
enableAutoBinding=”true” beforeRebindTable=”onBeforeRebindTable”>

<uiTable:Table id=”uitable” class=”sapUiSizeCompact” visibleRowCountMode=”Auto”></uiTable:Table>


I completely don’t what to do with that. For example when I remove table from my smartTable grouping works, but with that table is not. It required to select index.


My idea is to put to each column checkbox via jQuery, but I am not sure if it’s a correct approach.

Could you please help?


Thanks a lot!


Hello Tonny,

can i know the purpose of selecting a specific index?

The smarttable use the sap.m.Table which does not offer the selectIndex function. Instead the sap.m.Table offers the “setSelectedItem” and “setSelectedItemById“, which you can use and maybe you need to fire the event “fireSelectionChange”.


PS: In general the SAPUI5 offers a lot and i only recommed extending a control, if you do not really find any option in the standard framework to achieve your requirement. Moreover i would not recommend adding a jQuery script into your coding and instead you can extend a control and develop your custom feature there.


Good luck,

Ghayth Mkhinini

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.