Skip to content

v5.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Sep 04:39
· 42 commits to master since this release

5.8.0 (2024-09-29)

Release Info

This new release brings a new preParseDateColumns grid option that allows to pre-parse date columns to improve Date column Sorting by a factor of 10x (and also make subsequent sorting extremely fast). The problem at hand is simple, parsing dates can be an expensive process especially for large dataset, but it is required in order to do Date Sorting. When we say parsing we mean reading the formatted date string and convert it to a JS Date object. For small dataset (less than 10K), it's not much of a problem but it becomes quite noticeable with large dataset, because calling a Sort will revisit the same items over and over until every items are fully sorted and without the new option enabled, we are reparsing these items multiple times which as I said earlier can become an expensive task... so with this release, we now have a new opt-in preParseDateColumns grid option (to be used only with large dataset 10K or more, the option IS NOT enabled by default). For more info, please take the time to read the Sorting - Pre-Parse Date Columns documentation. You can test this out via Slickgrid-Universal Example 2 by clicking on "50K rows" button and then try sorting Start/Finish dates.

Features

  • option to improve Date Sorting by pre-parsing date items only once (#412) (1a4b752)