excel-bootstrap-table-filter
excel-bootstrap-table-filter copied to clipboard
Correcting the position of drop-down menu while it is not in viewport
Hi, chestercharles
If filter icon for drop-down menu is located too close to right border of window this menu is getting out from viewport.
Let me show you some improvement for your awesome table filter:
$trigger.click(function(a){a.pageX+310>$(window).width()&&$($content[0]).css({right:0});return $content.toggle()});
Now the drop-down menu always apears in viewport now
One more time thanks for this filter
Thank you @AzhurMinimalWe !