Load the whole list in Variable Explorer in Spyder - numpy

I have a following problem: I wand to check the end of a long list (numpy array to be precise) in Variable Explorer in Spyder. But when I change sorting to the decreasing by index I will have only entries from my 1st screen. I have to scroll down to load them and only then I will see them.
For example I have 20,000 rows. If I will change sorting I will see only rows from 63. If I will scroll to the 200 row in normal order and then change it I will see only the rows only from 200.
Is there any way to fix it?

Related

Element is not getting detected in Selenium if loads the table data using 'select number of rows"

Scenario is based on the 2nd column value I need to click on check box lie in first column.
Problem is by default table displays 5 rows of data, in this case the element is getting detected properly and check box works. But if the record is not in displayed 5 rows I have to use the number of item dropdown to load more rows in table in this case the elements has stopped detecting which is available in first 5 rows as well.
So far I checked no change in XPATH and page scrolls a bit so tried using Actions as well to move to the element and click but did not work.
Things seems to be working after using Actions/ActionChain instead of find_element()

DataGridViewAutoFilterTextBox displaying small number of items

Using this article (https://learn.microsoft.com/en-us/previous-versions/dotnet/articles/aa480727(v=msdn.10)#initialization) and the library included in the demo project I have setup Excel-like autofiltering on a datagridview.
However on columns where there are not many distinct values, only one or two rows are displayed:
In this example, there are actually 3 or 4 values in the filter list that the user could select but only two rows are displayed and the rest you must scroll to find.
I've been unable to find where the height of the list box is set. Any can anyone point out where I can change/set this?
I believe that this may be what you are looking for.
In the documentation is the following paragraph:
The SetDropDownListBoxBounds Method
The SetDropDownListBoxBounds method initializes the size and location of the drop-down list.
The preferred size depends primarily on the dropDownListBox contents, which are the formatted values stored in the Keys collection of the filters dictionary. The SetDropDownListBoxBounds method first calls the Graphics.MeasureString method for each filter value. For each value, the width is stored if it is wider than all previous values, and the height is added to an accumulating total height for all values. The results are then used to determine the preferred size.
The preferred height is the smallest of the following values:
The accumulated height of all filter values.
The user-specified maximum height as calculated from the
DropDownListBoxMaxLines property value.
The available height of the DataGridView control client area.

How to reduce the row size when the multi line data is removed from Jface Tvaleviewer

Using OwnerDrawLabelProvider() I am creating a multi-line table cells, so all rows are now of same size, if I delete a multiline cell and reload the table contents , all the rows still have the size of multiline row . When I close and open my application window the row size changes to single row. Without reopening the the window, how can I achieve this ?
I tried using viewer.setInput(null) and then viewer.setInput(data) it still behaves the same.
Unfortunately this is not possible. Eclipse bug 130024 describes this. It doesn't look like this will be fixed.

dojox.grid.DataGrid - Maintaining row selection when sorting and paging

I am using a dojox.grid.DataGrid to display data and allow the user to select one or more rows to highlight items to do other actions to.
My problem is that the grid uses indexes to remember the selected rows. If I have turned clientSort on, sorting the rows makes the rows change order but the selection changes to the rows that now occupy the selection indexes before sorting.
To combat this I get the items for the selected rows on each selection change and then when onSort event happens I use getItemIndex(item) on each of the items in my selected items collection to get the new row indexes and I re-select using those indexes.
Now, my problem is that the DataGrid loads data a certain number of rows at a time (it uses the term page to define a set number of rows) to improve performance. When a sort occurs it reloads the data in the new sort order but only up to the rowsPerPage value (defaults at 40). When I try and use getItemIndex for an item whose new row has not been loaded into the grid it returns and index of -1. The getItemIndex() function only returns the index once the user scrolls down and the row is loaded.
I cannot find an event that fires when the page loading occurs to try and restore the selection. I have looked through the 1.3.2 source code and can not find anything. I have tried connecting to a number of private functions but none work.
Has anyone come across this and found a fix?
Thanks in advance.
I found the answer. The dojox.grid.DataGrid has a private event (_onFetchComplete) which fires each time the next page is requesting. I use setTimeout to run my restore function after a duration of 300.
Job done!

SSRS - Producing a report that is not dynamic in size

I want to build a report that is completely static in size and shape. I'm attempting to mimic a hand-entered report that someone in my organization has been building from a word doc for years.
The critical piece appears to be fixing the number of rows that are produced in the various Table grids that fill the page. I would like them to always contain a set number of rows, whether data is present or not. It would seem that if I can just fix the size my tables, then all the other elements will not be forced to move because of stretching repeater sections.
All my grids are backed by stored procedures, so I'm open to SQL tricks as well.
Sorry i did miss-read the question.
If you know how many rows you need to return (say 20) maybe you could pad some bogus info into your records returned from the stored procedure. You might be able to count the records your query has returned before you send them back, and if you have less than 20 add some bogus ones to the record set, put something like 'NonDisp' or something in them.
Then in the report put an iif statement into the cells that checks for this bogus info, if it is found change the cell to display nothing, otherwise show the valid values
Not a direct answer, but perhaps a workaround you might consider: perhaps you can insert a page break after the table grids that have dynamic sizes, so that all elements that follow it have a fixed position (relative to the top of the page).
Add a parent group to tablix with =Ceiling((RowNumber(Nothing)) / 10000) expression. (10000 or whatever is required no. of rows)
In page break properties of group, check box for insert break between groups, leave the bottom boxes un-checked.
Optionally, we may chose to set hidden property true for text boxes added because of new parent group.
In tablix properties, check box for "Keep together on one page".