Skip to content
Snippets Groups Projects
Commit f6b49e38 authored by Timo Koch's avatar Timo Koch
Browse files

[growth] Introduce a growthInsertionIndex for better user data control

Each element has a growthInsertionIndex that can be queried using a grid method
with the same name. This index is only valid between calling grow() and postGrow()
and only for elements that have been inserted using the grids insertElement method.
It can be used to attach user data to an element inserted with the insertElement method,
because we don't know at insertion time (before calling grow()) which index or id
the element will have in the grid. The concept is very similar to the insertionIndex
of the factory with the difference that the validity of the index is only temporary.
parent 84bb0718
No related branches found
No related tags found
1 merge request!15Feature/growth insertion index
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment