• Resolved webmikeit

    (@webmikeit)


    It seems that the plugin only turns the table responsive when i don’t use the class=”no-datatables”

    This is the page without the class=”no-datatables” https://webmike.it/1059-2/

    I use many pages with your plugin, is very useful for me. I searched a solution on the forum and on wordpress support, but it seem a problem that i can’t solve.
    Anybody can help me?
    This is how looks a page with the class=”no-datatables” on mobile:
    https://webmike.it/wp-content/uploads/2020/03/IMG_6955.png

    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Meitar

    (@meitar)

    Your posting does not describe a problem you are trying to solve, but rather simply states facts.

    Thread Starter webmikeit

    (@webmikeit)

    so? that’s it? it’s a fact that with class=no-datatables the plugin is not responsive?

    Plugin Author Meitar

    (@meitar)

    it’s a fact that with class=no-datatables the plugin is not responsive?

    Yes, just as if you turn off a light, it will be off.

    Thread Starter webmikeit

    (@webmikeit)

    Allow me a better example. “When the sun goes down the light goes out. Genius discover the electric light”.
    If you, as plugin author, are planning to fix it, thank you.
    If you, as support, have any idea how may i fix it, thanks you.
    If you, as person, are here just to judge people because they are asking, have a good day.
    Always smiling:) Thanks.

    Plugin Author Meitar

    (@meitar)

    If you want a responsive table but also want to turn off the feature of the plugin that implements a responisve table, you are going to have a lot of trouble getting the plugin to provide a responsive table no matter what code is written, because you will have disabled the thing you want enabled. Try not disabling the feature you want to use.

    Put even more plainly: since the responsive table is only available on DataTables-enhanced tables, when you disable DataTables by using the no-datatables class, you are also disabling the plugin’s ability to provide a responsive table. If that’s not what you intended, then you can customize DataTables in any of the myriad other ways described on this forum, you can implement your own responsive styles, or you can simply omit the no-datatables class. Any of those options will get you a responsive table.

    What will not work, however, is exactly the thing you seem so adamant about doing, which is turning off the very part of the plugin that does the thing you say you want. To use a simile, this is exactly the same as the way turning a light switch controlling a light flips the light bulb to the state indicated by the switch. If you move the switch to the off position but simultaneously demand to the electrician that the light bulb be shining while the switch is in that position, you are going to get some pushback because your request reveals your failure to understand how lightswitches work, not the electrician’s failure to properly wire a light bulb.

    If this is going to be the level of exposition needed about something so blatantly obvious, I will probably abandon this forum completely because I feel dumber every time I read support requests here.

    Thread Starter webmikeit

    (@webmikeit)

    I was going to write again to sorry. I understood what do you meant, and I setup it right now in the way i like, without pushing the light interrutor off :-).
    Not everybody is a programmer, thats’ why i’m thanking wordpress. So what for you is obvious, for me (example) is not.

    Probably i asked in a wrong way, but i was looking for somebody explain me what i did wrong and how to obtain the result doing in a different way. That’s it.

    Thanks. Bye.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘class=”no-datatables”’ is closed to new replies.