[BlueOnyx:21771] Re: save the values of select box of "show 10 entries" after changed.

Fungal Style wayin at hotmail.com
Thu Feb 15 21:58:54 -05 2018


Michael,

Well it is listed there and in the DNS setting example, the save does not seem to do anything anyway.... was a little puzzled...

Mind you in my previous searching I did come across the following, maybe if we could change the default with a manual "hack" to show the desired number of entries by default?

https://stackoverflow.com/questions/10630853/change-values-of-select-box-of-show-10-entries-of-jquery-datatable

It is using Jquery so my be helpful, I don't know as it is more above my pay grade...

Regards
Brian

On 16/2/18, 1:54 pm, "Blueonyx on behalf of Michael Stauber" <blueonyx-bounces at mail.blueonyx.it on behalf of mstauber at blueonyx.it> wrote:

    Hi Brian,
    
    > Not sure if anyone has noticed but it has been a pet peeve of mine for a
    > while, as I skip between screens, for example, in Stie Management I can
    > change the “Show [10] entries” to 50 and there is no way to save it that
    > I can see… as when I go back to the site management tab, it reverts to 10.
    
    Phew ... this is a good suggestion, but I'm myself wondering how to pull
    that one off. Sure, we could set a cookie that recalls if this was
    changed and what value it was set to.
    
    The trouble is: The GUI element where this is used is called
    "ScrollList" and it uses a jQuery element called dataTables. The
    whopping beauty of it is that it's sort of a black box. You feed it some
    appearance parameters like ...
    
    - Pagination enabled?
    - search field enabled?
    - sort order and sort-ability by column?
    - # of columns and column width?
    
    ... and feed it an array that contains the data you want to display.
    Boom, finished.
    
    There is some flexibility to appearance and functionality via
    parameters, but I'll have to go back and dig out the docs for that to
    see how and if I can fiddle this in.
    
    I'll look into this.
    
    -- 
    With best regards
    
    Michael Stauber
    _______________________________________________
    Blueonyx mailing list
    Blueonyx at mail.blueonyx.it
    https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.blueonyx.it%2Fmailman%2Flistinfo%2Fblueonyx&data=02%7C01%7C%7Cbfae55c41a91434a543a08d574e89a8b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636543464722518078&sdata=%2F%2F77R4yjyX%2Fn3ZMHLDh7BCxQd2KkAM3%2FvuJdHmkH2b0%3D&reserved=0
    






More information about the Blueonyx mailing list