search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Add expand collapse buttons to resource-row when using dynamic event rendering

Asked by Viktor Eriksson
5 years ago.

I would like to add a plus and minus button to expand collapse row depending on if it has groups that is collapsed or expanded. But the rows are rendered before the data has returned thus my buttons are not drawn. Is it possible to add buttons to the resource row based on the data that is returned asynchronously ?

Comment posted by Viktor Eriksson
5 years ago.

It seems like it sometimes works.
Sometimes when executing args.loaded() in onScroll it re-renders the row-headers.
If I in onScroll set args.clearEvents = true it will not work.
But if it is false it will re-render the row-headers.
Is it possible getting it to work with both ?

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.