Default Saved States

Viewing 1 reply thread
  • Author
    Posts
    • #45487
      tricountydental
      Participant

      The Create State/Saved States is a great feature. However, it would be extremely helpful to have a “default state” for a sheet. That way each time viewing the sheet, the user wouldn’t have to select a state.

    • #45488
      Stephen Sherrard
      Keymaster

      Those states are part of the dataTables library, which is not something I created, but that I implement for easier viewing/filtering/sorting of table data, along with its export/print functions. So, I didn’t code any of that.

      There are a few settings you can set in my plugin, such as enable/disable grouping, and whether or not to show empty slots. Those options are read and used in the javascript initialization of dataTables, so those are the “default” state. There is not a separate dataTables init function for each sheet, since sheets are dynamic and there can be thousands of them. There is just one init function for dataTables that is applied to any table with the particular class I added.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.