Okay
  Public Ticket #1946606
Using external scripts to automatically add values for specific columns
Closed

Comments

  •  1
    Vaclav started the conversation

    Hello, I'm nearing the purchase, though there is one last item that i'd like to be sure about: Is it possible to create an automatic column that will populate each row with data calculated from external script (e.g. Python code). The trigger for this code run should be specific value in another column. 

    The example would be: User inputs string "calculate" in column 1, row 1, and the script will run and input the result in column 2 row 1.

    Thank you for your response.

  •  471
    Isidora replied

    Hi Vaclav,
    Thank you for your interest in wpdatatables.

    Sorry for late response. 

    We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.

    Something like this is not possible in our plugin with built in features. We can not guarantee that will something work in our plugin with your custom code. 

    You can take a look in our documentation about Actions and Filters which are defined in wpDataTables plugin for customization's by developers.

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  1
    Vaclav replied

    Thank you for your reply. Is it possible to test a filter in the demo version? I haven't found any possibility to set it up in a new / existing table.

    *ad: I have found the way.. thank you.

  •  1
    Vaclav replied

    Ok, i think this is my final question now, and i would be really gratefull for the answer: Is it possible to use the action / filter to input value in a different column of the table? E.g. the function in action / filter in column 1 row 1 returns some value, and inputs it in column 2, row 1? Thank you.

  •  471
    Isidora replied

    Hi Vaclav,

    Unfortunately that is not possible with existing actions and filters. What you can use is filter wpdatatables_filter_cell_val. This filter is applied to the value of the cell before it is returned to the front-end. Like this you can filter all data from table based on some value. If you need specific column then you can use wpdatatables_filter_date_cell or wpdatatables_filter_datetime_cell or wpdatatables_filter_time_cell or wpdatatables_filter_email_cell...

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables