One table, different options

One table, different options

bpfh666bpfh666 Posts: 2Questions: 1Answers: 0

Hi all,

I have a system which has one set of data but needs two different "views" depending on the user. One set needs a paginated view (a wall mounted monitor with no interaction) and another needs a scroll view (same details for execs to view on thier desktops).

Is it possible to define the table then switch the options after? From reading the forums I think not, but it's worth asking.

Paul

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @bpfh666 ,

    No, as you say, those kind of settings are only defined when the table is being initialised.

    One option that may work is to have a single page with both those tables on, and just hide the table that you don't want.

    Cheers,

    Colin

  • bpfh666bpfh666 Posts: 2Questions: 1Answers: 0

    Thanks Colin. Exactly what I've done; just seems a bit wasteful to an old coder :wink: :smiley:

  • kthorngrenkthorngren Posts: 21,299Questions: 26Answers: 4,945

    How do you determine which Datatable options are needed?

    Maybe you can use an if statement to init the version you want.

    Kevin

This discussion has been closed.