Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    No, sorry, I don’t have an idea what might be causing this ?? Unfortunately, some browsers handle the width calculation differently and Internet Explorer seems to think that it has to apply the collapse options on a desktop monitor already.

    Regards,
    Tobias

    Thread Starter zubeldialuis

    (@zubeldialuis)

    thanks for quirk reply @tobiasbg

    but i have putted responsive_breakpoint=phone id not working in IE?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    the responsive_breakpoint=phone parameter is only valid for the flip mode. It is not used for scroll or collapse.

    Regards,
    Tobias

    Thread Starter zubeldialuis

    (@zubeldialuis)

    ohhh why not? can do it work also with this options? do you have github of the responsive table press to collabore?

    • This reply was modified 6 years, 2 months ago by zubeldialuis.
    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no, the parameter can not be used with these, because it wouldn’t really make sense. The collapse mode does it’s own calculations, it is based on the DataTables Responsive add-on, see https://datatables.net/extensions/responsive/ and https://github.com/DataTables/Responsive
    Note that I’m not the developer of these JavaScript libraries, so that I can not help directly here.

    Regards,
    Tobias

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    these are totally different breakpoints, they only apply to the direct configuration of the DataTables Reponsive JavaScript plugin. They are not relevant at all. The TablePress Shortcode parameter responsive_breakpoint is only used in the flip mode by TablePress.
    If you need more control over the collapse mode, you’d have to directly use DataTables on your site.

    Regards,
    Tobias

    Thread Starter zubeldialuis

    (@zubeldialuis)

    OK finally i can solve it adding this in the line 157 in tablepress-responsive-tables.php of your plugin

    $ua = htmlentities($_SERVER['HTTP_USER_AGENT'], ENT_QUOTES, 'UTF-8');
    		if (preg_match('~MSIE|Internet Explorer~i', $ua) || (strpos($ua, 'Trident/7.0') !== false && strpos($ua, 'rv:11.0') !== false)) {
    		$render_options['responsive'] = ' ';
    		}

    i hope can help to somebody, and perhaphs you can add this fix in the plugin.

    Thread Starter zubeldialuis

    (@zubeldialuis)

    thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    interesting idea. Thanks for sharing this.

    Best wishes,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘collapse in Interet explorer problem’ is closed to new replies.