Need an advice.
It appears that ANY setting of filters on one report -- even something as simple as records per page -- disrupts how other reports appear in a rather buggy looking way.
For example:
Go into my page > some view
Set Page Size to 13 and click Apply.
Now it's showing 13 records per page. BUT this simple setting has now trashed nearly every other pages view, which now only displays those fields that were in the view personalised. Other records are hidden.
What can I do in this case?
Related
I have used display tag library to show results from a list on my jsp page.
I have given pagesize as 12. I need to refresh the page results such that after a predefined interval my results are shown page by page
i.e. at first load, page 1- 12 records seen, after interval, page 2- 12 records seen, ...etc.
Currently I am facing issue that every time my refresh happens I see only Page 1 results and thus my refresh will not allow me to see other pages.
Can anyone help me here please???
This is a more conceptual question, so I'm not initially submitting any code for it unless someone requests it.
On a current website of mine, I am using a Kendo UI grid to display a table of multiple pages. I also have a (Kendo UI) drop down list, allowing the user to filter rows by class (it reloads the page and makes the necessary edits through the controller).
My problem is this: when the user pages through the Kendo UI grid, it loads a new page and the filtering preferences do not persist. How can I make it either not reload the page(and do everything on the same page instead), or make the drop down box's value persist? Thanks, and tell me if there's any information that would be helpful for me to add!
CLARIFICATION: The functionality is all fine, the only issue is that the dropdownlist does not visually persist.
Actually you can bind both dropdownlist and grid to a single external datasource. This datasource will actually place a ajax call and get the records when the value in drop down changes. As the new records appear in datasource the grid can be refreshed or will automatically refresh without the page reload. Page reload doesn't look like a clean way to filter the grid.
I have a data table on my xPage that shows e.g. 10 rows (repeat limit, rows="10").
How do I know what's the current page number when I navigate through the records by using pager?
After switching between pages I'd like to return back and open dataTable exactly on same page I left:
getComponent("dataTable1").gotoPage(<page number I save>)
I think the best route to get the behavior you want is to use the <xe:pagerSaveState/> control from the ExtLib, which does the job of storing the state of a given pager and restoring it when you go back to the page. Brad Balassaitis has an example of how to use it here: http://xcellerant.net/2013/08/08/xpages-data-views-6-pager-save-state-control/
I am working on Project on which around 1000 table view on a single page is exit.I had given a scroll bar for it but it is not as smooth as intended to be.So Some how can I draw the table which fits within the screen or window. Then when user wants to scroll down it will draw the other table.I donot want to use pagination provided by javafx .I prefer to have a scroll bar but in the beginning instead of displaying all the table it will display 10 or 15 tables whichever fits within the screen.Any help on this will be appreciated..
You may use Pagination instead. Each page will create it's own table every time it's opened. When you provide a page index to the page factory then retrieve the necessary data according to that index. Only one istance of Table View will exist in the memory.
in drupal how to display 2 views with filter exposed in same page/path?
Have you tried having each view as a block? That way it is simple to have two different views on the same page - for example add the blocks to the body and limit them to the specific page. caveat - I don't know if exposing the filter makes using the block view problematic, but it is certainly worth a try.
The way I solved this is described here:
Create a view with two "page" displays
Make sure the filters are identical in both
Under exposed form set "Exposed form in block" to "Yes" in both
displays
Make the second display appear in the footer of the first
Set the exposed block to appear only in the path of the first
display
Now setting filters affects both displays.