Okay
  Public Ticket #3359466
add class designation to the page link
Closed

Comments

  • Brenda started the conversation

    Another solution for us might be to set "Show details in:" to page ---- IF we can designate a class to the link.... i.e. want to show a custom page in a popup.  

    Another feature I expected this plugin to have is clicking the master table and having the details drop in an accordion fashion.  Is this possible?


    In a time crunch and trying to get this plugin to work for our situation - but not getting any answers from support :(  Please help!

  • Brenda replied

    Regarding "Another feature I expected this plugin to have is clicking the master table and having the details drop in an accordion fashion.  Is this possible?" I see that we can set the tablet width to 1920 or more to force this behavior on desktop.  

    However, we still REALLY need a solution to not not showing empty fields ---- any ideas?

  •  1,689
    Miloš replied

    Hi, Brenda.

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    Can you please elaborate what you mean by adding a class designation to the page link?

    My apologies but i did not understand that use-case.

    Do you have any kind of a working example with screenshots or a Video?

    If you send any confidential details, mark the reply as PRIVATE, for safety reasons.

    -

    2. In regards to making the Master Details Pop Up as Accordion fashion, apologies once again but not sure exactly how should that look, could you elaborate and show us any examples?


    3. In regards to hiding a column only from Master-Details and only if the field has an empty row - that is not currently possible;

    but you can try using our Conditional Formatting feature.

    For example - you can try a rule like this for a column :

    if the cell is blank, then add CSS class to column of "hide".

    Here is my screenshot example how to set this up in column settings.

    2701811915.png

    I hope that might help for the use-case, but not sure what is exactly needed, and please elaborate on other points.

    Thanks.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Brenda replied

    If 'master-detail functionality' is enabled, 'Open details on" set to Button click, and 'Show details in' is set to Page, you select a Template page, and can set if the link opens in the same tab or not.  Was hoping to be able to add a class to the link to the page the resulting code on the 'More Details' link is this: <input class="master_detail_column_btn md-link" type="submit" value="More Details">.  Would like to add another class such as 'newclass' like this: <input class="master_detail_column_btn md-link newclass" type="submit" value="More Details">

  • Brenda replied

    #2)  You wrote:  In regards to making the Master Details Pop Up as Accordion fashion, apologies once again but not sure exactly how should that look, could you elaborate and show us any examples?

    After doing more research in the documentation and the public tickets, I guess 'collapsing' is what I was referring to. I was able to do this by 'Allow collapsing on mobiles and tables' checked, set the wpDataTables>Settings tablet width set to 2500, so the collapsing occurs on desktop as well.  Thank you.

  •  1,689
    Miloš replied

    Hi, Brenda.

    1. In regards to adding another class,

    if you wish to add a custom CSS Class,  open the "details" column settings,  and in the Display Settings, you can add new CSS classes.

    4321279766.png

    9347813401.png

    1920377015.png

    Then, you can add any CSS styles you need to this "details" column.

    If you need the styling only in one table, add it to table's Customize/Custom CSS,

    or if you wish the same CSS for any column that has this Class added through column settings;

    you can add this style to main plugin settings/Custom JS and CSS/Custom CSS.

    -


    2. Thank you for that clarification, now i see what you mean.

    Exactly, by increasing the default value of "tablet" width in our main plugin settings - you can achieve that "responsive"/collapsing behaviour on desktops.

    Let us know if you have any additional questions about that. Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Brenda replied

    Thank you.

  •  1,689
    Miloš replied

    Hi, Brenda.

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    I am delighted to hear that this has been resolved. Thank you for letting us know. Anything else that we could assist with, please don't hesitate to create new tickets.

    Have a great day!smile.png

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables