on 10-01-2014 8:59 AM
Hello Experts,
I want to implement grouping in my sap.ui.table.Table control (for one column).
It seems that the feature is already exists for sap.m.Column:
http://help.sap.com/saphelp_hanaplatform/helpdata/en/4c/98cf1b07754d22bed8b6fba68f2031/content.htm
I want to do it in jQuery (playing with rowspan/borders) but I can't find an event that is fired each time a change in the table occurs
(table created, scroll event etc).
I thought that
oTable.addEventDelegate({ onAfterRendering :
doSomeCode();
});
will do the job but the code isn't called (nor error is written).
How can solve it?
Regards,
Omri
Hi Omri,
sap.ui.table.Table doesn't exist the functionality that sap.m.Table has.
www.sapui6.com has a lot of custom control. they have a custom table control and support merging cell.
Regards,
Seungwon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Experts,
I've managed to find a solution by changing the border (instead of playing with rowspan) - see jsbin: http://jsbin.com/fihuvo/2/edit?html,output
I've used Jasper's example from here:
However, the solution have flaws:
1) Some of the code is not documented (the scrollbar stuff from Jasper's code).
2) A new field "d2" is added to the json just for the column border manipulation.
Another problem that I have:
When json is hardcoded everything works fine but when getting json by ajax request the UI is not updated (I've tried both 'attachRequestCompleted' and classic jQuery.ajax success callback).
What is the correct event for manipulating DOM after both model completed & UI is rendered?
Regards,
Omri
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.