Responsive _resizeAuto() private method

Responsive _resizeAuto() private method

JamaurJamaur Posts: 83Questions: 9Answers: 0

I noticed that the _resizeAuto() method takes a considerable amount of time to determine the minimum widths of the columns.

In my case, I am already setting the minimum widths in CSS. To optionally improve performance, wouldn't it be a good idea, if:

  • Users could optionally specify minimum widths themselves, or
  • Optionally specify some kind of function/callback where one could make their own calculations and return the minimum widths accordingly

Thanks

Replies

  • allanallan Posts: 61,657Questions: 1Answers: 10,094 Site admin

    Hi,

    Yes, that method can be really rather slow and there needs to be a way to speed it up. I haven't decided exactly how to do that yet, but specifying minimum widths up front might work (assuming the dev gets the numbers correct :-) ). A callback is a nice idea, I like that. I'll be looking into this in future.

    Allan

  • JamaurJamaur Posts: 83Questions: 9Answers: 0

    Thanks for replying. Another one in your to-do list :D

  • allanallan Posts: 61,657Questions: 1Answers: 10,094 Site admin

    Aye - its getting longer by the day...

    Allan

This discussion has been closed.