Unlimited Page Sizes - tablesorter

I'm using TableSorter 2.28.15 on a site with job listings to allow the visitor to sort the jobs based on a few of the columns. However, the table is only displaying 15 rows, which I believe is a default.
Unfortunately, I can't tell where to change that? The client doesn't want pager controls to let people navigate through the listings - they want them all to appear.
Any help is very much appreciated!

Set the pager size option to "all" (demo)
$('table').tablesorter({
theme: 'blue'
}).tablesorterPager({
container: $(".pager"),
size: 'all'
});
I'll need to update the documentation

Related

Widget "Group" not working with "Filter" on Tablesorter

When I try to use the Filter widget on my table, the Group stops collapsing.
I made 2 test tables.
The "Group" is under SERVIDOR
http://stats.wotpt.tk/WOTPT_Filter_Off.php
with widgets : ['group', 'zebra', 'math', 'cssStickyHeaders'],
http://stats.wotpt.tk/WOTPT_Filter_On.php
with widgets : ['group', 'filter', 'zebra', 'math', 'cssStickyHeaders'],
This is the only difference between the tables.
On WOTPT_Filter_Off.php the Groups collapses, but they are not visible on page load. The table needs to be reordered to display the Groups.
On WOTPT_Filter_Off.php the Groups are shown at page load but they do not collapse.
I'm using: Tablesorter by Rob Garrison (Mottie) 2.20.1 and Jquery 1.11.2.
That problem turned out to be a bug in the filter widget. It was adding a "display:table-row" to every visible row so the "group-hidden" class was not able to hide the collapsed group.
I've fixed this problem in the latest version (v2.21.0) - The grouping widget demo now includes a filter row for testing ;P
Thanks for reporting this issue!

Select2 loading more data on scroll end

Does anyone know how can I achieve following:
I need select2 dropdown which would appear 50 records. On reaching bottom scroll it would load another 50 etc...
On their site i found http://ivaynberg.github.io/select2/#infinite but this involve "search", so I have to type at least 3 chars to search db using ajax... I dont need that, I need 50 records loaded immediatelly on load and visible inside select2 and rest per scrolling...
Does anyone know if this can be achieved with select2 and how (to post me example)... If not is there any another plugin which could allow me this?
Thanks!
Set property minimumInputLength:0 so it fetches the first records immediately, not after 3 characters.

2 kendo ui treeview in same page not expanded nodes

I am trying to put 2 kendo ui treeviews in same page.
The Page is Rendered fine but i can't expand the nodes of the trees.
Can someone help please?
You must provide different names to the .Name() attribute of the treeviews in order to let it expand because onclicking node items it distracts one another..
Check your page for JavaScript errors. Those would prevent the Kendo UI widgets from working as expected. Here is a list of common JS errors: http://docs.kendoui.com/getting-started/troubleshooting#known-javascript-errors

tablesorter pager - ajax pagination with checkboxes and custom html cells?

Is there any example out there that explains how to dynamically generate a tablesorter with the pager plugin using AJAX, with checkboxes and editable cells? Currently, all of the examples have hard-coded table data, i.e. <theader> and <tbody> are pre-defined.
I can get a basic example up and running with AJAX calls to fetch paginated data, but need to integrate checkboxes into the table.
Also, is it possible to group rows (and expand collapse them) using this plugin?
Here's a screenshot of what I'm trying to accomplish:
Much thanks in advance !
The included parser-input-select.js parser file allows for dynamically added and updated inputs, checkboxes & select boxes. All you need to do is set the parser for that particular column:
Place this in the header
<script src="../js/parsers/parser-input-select.js"></script>
and include this code:
$(function(){
$("table").tablesorter({
theme : 'blue',
headers: {
0: { sorter: 'checkbox' },
1: { sorter: 'inputs' }
}
});
});
This parser will also work with the pager addon. There isn't a demo of this parser being used with the pager, but you can see it working in the grouping rows widget demo.

It is possible to change Page default in FastReport?

I have a little problem.
I've build a report with 2 pages:
Page1 shows a general items with sum.
Page2 shows a detailed of each item.
In the form I choose which kind of page I want to see.
If I want general information I choose option 1 and I saw the "Page1".
But, if I want to see detailed information I saw "Page1" along with "Page2", instead of the "page2" content only.
I tried to set page1.visible := False but If I do that I saw nothing, but If I set page2.visible := False and choose option1 then I saw the content.
Why can't I have the same result ?
It seems to me that the "Page1" is set as the default page and I can't have this page not visible.
So I'm searching to change that. If it is possible, where can I alter that ?
Thanks.
you must sure if Page2 has MasterData band.
where Fast Report Page not Appear until it has MasterData.
Where Master Data band Represent Main engine.
and Then your Code will be run page1.visible := False.

Resources