Skip to Content
0

Can we set sap.m.Table Row to busy state?

May 14 at 02:18 PM

72

avatar image
Former Member

Hi experts!

I'm wondering, if we could set the Row (Item of sap.m.ColumnListItem) of a sap.m.table to busy state by, f.e. push of the Button, which is in the Cell of that Row?

I tried to use something like this in the Button "press" event:

oEvent.getSource().getParent().setBusy(true);

but nothing happens. The Console is empty as well (throwing back no errors).

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV May 14 at 04:09 PM
0

yes..its possible to set the row of a table to Busy..

on click of a button access the table to row item...and set the property busy to true by calling method 'setBusy'

Below is the sample code..

http://jsbin.com/quyipi/edit?html,output

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Srikanth,

thanks for your suggestion, but unfortunately this approach doesn't work with ColumnListItem of sap.m.table (which I'm trying to use).

Here is your reworked code with ColumnListItem le: http://jsbin.com/zatuvacuyi/edit?html,output


Thanks

0

not sure of the reason why its not working...

but I have noticed that if we change SAPUI5 source to 1.48.10 then loading indicator is shown for the whole table instead of the corresponding item

0