From c76de8a341ae663badcec153e8f715a0eeda0097 Mon Sep 17 00:00:00 2001 From: jos Date: Wed, 4 Mar 2015 15:02:58 +0100 Subject: [PATCH] Added a warning to the custom order example --- examples/timeline/35_item_ordering.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/timeline/35_item_ordering.html b/examples/timeline/35_item_ordering.html index e4abc14f..a1b560b6 100644 --- a/examples/timeline/35_item_ordering.html +++ b/examples/timeline/35_item_ordering.html @@ -25,10 +25,12 @@

To display and stack the items in a controlled order, you can provide a custom sorting function via the configuration option order. - This is only suitable for relatively small amounts of items, as it forces - the Timeline to order and re-stack all items with every redraw.

- +

+ WARNING: Custom ordering is only suitable for small amounts of items (up to a few + hundred), as the Timeline has to render all items once on load to + determine their width and height. +