Okay
  Public Ticket #1370840
Code assistance
Closed

Comments

  •  1
    Kuljit started the conversation

    I would greatly appreciate if you can point me to direction on how to achieve following-

    1. Double-clicking a row to open "edit" window

    2. A way to make column value "linkable" (to another wpdatatable page) and how to add a querystring to it with current row column(s) so that target page opens/shows filtered data

    3. Currently on "EDIT" screen "Next" and "Prev" button works but if data is modified and then "Next" is pressed, the changes made is not saved. How to make it "save and Next"?

    4. How to remove "Apply and OK" and "New" button from "EDIT" screen?

  •  471
    Isidora replied

    Hi Kuljit,
    Thank you for your purchase.

    Please note that customization questions like this one are not covered in the included support for the plugin. Included support covers help with bugs and general inquiries for the plugin features, but not writing custom code. As you're developing some custom solution if you need our assistance we can offer you our paid customization service.

    Please note that standard item support (as defined by Envato's definition of support) does not include:

    Customization services; 

    Installation services; 

    Writing MySQL queries; 

    Writing advanced CSS;

     Resolving and debugging third party software and hardware issues; 

    Preparing files and tables; Skype, Teamviewer calls or etc. 

    Support with such requests can be provided on a paid basis.

    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
    Kuljit replied

    Not all are customization, point Number 3 is a defect in the plugin. 

    Also I am asking for directions not code itself.

    Thanks for being immensely helpful! 

  •  471
    Isidora replied

    Hi Kuljit,

    Sorry for misunderstanding, we thought that your request is to save data when you click on next button. I will discribe you all requests.

    1. To open edit modal with double-clicking you have to add some code customization, because rows are triggered on one click event to enable "EDIT" and "DELETE" buttons, or if you are using option "Popover edit block" it will be show popover block.

    2. You can take a look in our documentation about Pre-filtering tables through URL a see is this what you looking for.

    3.Yes you have to click on button "APPLY AND ADD NEW" to save the data. Editor modal will not close so you can choose data  on "NEXT" button. When you do that pointer will be set on first row in table. That is on TO DO list to fix in near future.

    4. Every button in editor modal have generated id based on table id. So for  button  "APPLY AND ADD NEW"  you can use css rule: 

    button#table_1_apply_edit_dialog 

    if the table have id table_1. You have to check throw Inspect element which id is generated. And for "OK" button you can use css rule: 

    button#table_1_ok_edit_dialog.

    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
    Kuljit replied

    Hi Milan,

    Thanks for your prompt response. 

    1. I understand the working of Onclick. I would appreciate if you can direct me to the JS file with tips to implement double-click on row. Again not asking for code.

    2. I saw the video earlier that why I am asking tips to make a linkable column in a dataset to another table page. I am trying to avoid a complex SQL query (by putting link query logic there.)

    3. Since "EDIT Dialog" is for editing. It is assumed you can make change on that window and pressing "NEXT" would save it. After all its EDIT dialog box.

    4. Much thanks on this tip of hiding the button.

    Regards
    Kuljit

  •  471
    Isidora replied

    Hi Kuljit,

    Sorry for late response. 

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

    1.You can find clickEvent in this file :

    wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js around line 1136 

    var clickEvent = function (e) {
    .
    .
    .
    

    2. Like we suggest in previous post you can use "Pre-filtering tables through URL".  With this tutorial you can make  link in one table and when someone visit that link it will be redirect on page with wpdatatables that you filtered throw the url. If is not what you looking for, please explain me more and send me some example/screenshot so I can give you my suggestion.

    3. Yes it can be done with some code customization.

    Best regerds.

    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