Okay
  Public Ticket #2839141
Drag and Drop Column Order (Frontend)
Closed

Comments

  • Wojtek started the conversation

    Hi there,

    I want to make a table customizable for an end-user. I want him/her to have an option to drag-drop columns order in fronend table. I think I'll be able to do so with help of this: 
    https://github.com/alexshnur/drag-n-drop-table-columns and some jquery for adding extra classes to your structure. But maybe you have some easy good-to-go guide tailor-made for your plugin. 

    If so I'll appriciate a guidance ;)

  • [deleted] replied

    Hi Wojtek,

    thank you for reaching out to ussmile.png

    I am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features.

    Maybe you would be able to do this with the use of wpDataCharts callbacks

    • Every chart exposes several options that customize its look and feel. Charts usually support custom options appropriate to that visualization. wpDataChart callbacks allow adding options that are available in Google Charts APIHighcharts API, and Chart.js API
    • All necessary resources are available in charts engines API (depends on which one you use). Every engine has a different approach to chart settings. In wpDataChart callbacks, you have to adopt those settings to the wpDataChart object (you can take a look at examples for each engine in our documentation, and also in the Support help center). A huge number of examples for any area of programming can be found on stackoverflow.com (typing your problem in google and at the end add "site: stackoverflow.com" and Google will search only that website). Also, a lot of examples of charts, chart settings, and customization can be found on jsffidle.net (typing in google for example "line chart highcharts jsffidle")
    • Please note that using hooks or wpDataTable and wpDataChart callbacks requires a certain level of programming skills and included support refers only to advice.