Skip to Content
author's profile photo Former Member
Former Member

sap.table.table onAfterRendering event breaks the table rows and cols

Hi guys,

I am coloring all the rows, which don't have an entry.

I do that by using the event onAfterRendering from the table control.

The coloring is working fine, but the rows and cols get broken as u can see on the attached picture.

By adding a new entry to the table, they get fixed.

Any ideas how could i fix that?

I appreciate any help.

Regars,

Georgi

tableError.PNG (3.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 21, 2014 at 09:50 PM

    This is because you have overwritten the library code :-)

    please do this.

    <yourControl>.onAfterRendering = function() {

    sap.ui.table.Table.prototype.onAfterRendering.apply(this);

    <your code> ....

    }

    -D

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.