I am using Telerik RadControls for WinForms Q3 2010 and having an issue with grid control.
scenario: I have a grid control in my main form grid control have 20+ columns (Hidden+ Visible) and i am performing Cell Formatting according to my business logic i am facing a strange behavior which is that at certain time i lost cell formatting (see attached image) randomly also when this happened grid becomes un-responsive and application crashed by clicking grid control.my grid refreshes randomly whenever a new record insert
Edit:
Related
I am creating an event screen like Outlook's. The issue I am coming across is that the autocompletebox I am using from Syncfusion doesn't automatically grow in height as more tokens are added.
The current workflow is exactly like outlooks. When the control is clicked on, it brings you to another page where you can select tokens. On return, the selected items populate the autocomplete circled below.
The approach I currently took is to have a listview. Scrolling is disabled for the listview since the page resides in a scrollview and nested scrollviews aren't recommended for xamarin. The height of the listview is dependent on the number of selecteditems.
I am wondering if there's another approach or control that would be more suited for my situation? Or if someone has come across a autocomplete control where the height will grow.
I have a SD grid to show messages received from other users (a simple chat app) and every time I open this panel, the first records appears and I have to manually scroll to reach last message.
Is there a way to automatically go to last record on this grid ?
I know there is a Select() method on grids, but this can´t be used on Refresh Event, only on user events.
I´m using GX15 U6
Thanks,
Rogelio Arosemena
Yes, it is possible with Inverse Loading property
This property is available for grids in the Smart Devices generator.
By setting it to True (its default value is False), the developer will
be able to load the grid in reverse direction (i.e. the Common Grid
will be loaded from bottom to top, and the Horizontal Grid will be
loaded from right to left).
Example of use The canonical use case of inverse loading on a grid is
that of a chat messaging system. What are its characteristics? It is
loaded from bottom to top, pagination is performed with a swipe-down
gesture, and when the user refreshes it the first page will be
displayed in the lower section.
I'm using a jqGrid as a frontend to a large mongo database. The user wants to use the jqGrid filters to view the data in the database. I'm sure this was performing well when we implemented it. The filters have been getting passed along and applied to the mongo dataset and everything has been working fine.
But now if they drag the scrollbar down to mid point in the grid it takes a very long to to fetch the records to fill that view. I turned on logging for the ajax interfaced to our mongo database to log the requests for pages coming from the jqGrid. This dataset in mongo contains about 54,000 rows.
When the grid first loads it correctly asks for page 1 from the database. If I page down slowly it asks for each page it needs to fill my viewport. If I quickly drag the scrollbar to mid point and release it, the jqGrid requests every page in between the page I was on before dragging the scrollbar and the place I released it. In this case I started on page 1 and it asked for page, 2, 3, 4, 5, 6, ..., 460. That is about 460 individual page requests.
I thought we tested this initially and saw that it was skipping over pages it did not need and was going straight to the page(s) needed for where we released the scrollbar.
Am I mistaken about how virtual scrolling works? Does it request every page from the start of the file to the page I want to see? I can't seem to find that level of detail in the documentation or via google searches to see how it should be acting.
Thank you Tony. The trick is what you set the scroll option to. True or 1 (one) have very different behaviors. From the docs for the scroll option "Creates dynamic scrolling grids. When enabled, the pager elements are disabled and we can use the vertical scrollbar to load data. When set to true the grid will always hold all the items from the start through to the latest point ever visited. When scroll is set to an integer value (example 1), the grid will just hold the visible lines."
I have one WWSD or one SDPanel with some attributes but between these attributes that are fixed inside a Table or directly in the MainTable I want put and Grid, the problem is that the Grid is not showed and when I put the grid its no more possible scroll in the WWSD or SDPanel, is like the Grid stuck the SDPanel more than the grid is not showed.
Anyone can help me to put the Grid and keep with all normally ?
Thx.
I assume you're targeting Android.
The issue is that Android does not natively support nested scrolling. Therefore, a GeneXus layout that contains a grid will disable the form's own scrolling (so that the grid can itself scroll).
There are two ways of resolving this issue:
Redesign the panel so that the form does not vertically exceed the size of the screen (thus, form scrolling is not necessary).
Set autogrow=true for the grid, which will resize to fit all items (and "push down" any other controls located below it). Since the grid will no longer need to scroll, the form's scroll will be enabled.
This question concerns Oracle Forms 10g.
I have a form with two windows. The main form has a main canvas and two stacked canvases. On one of the stacked canvases there are keyboard navigable elements. I also have another window that is used as a calendar data selection. My problem is that when the form loads the calendar window is visible even though I have not explicitly told it be visible. I only want to show this window when a button is clicked so that the user can select a data from the calendar.
I have checked the main canvas and it DOES have navigable elements so I am not sure why the other form keeps popping up upon form load.
Any ideas? I am using Forms 10g
Thanks...
Why not tell the calendar window to explicitly not show up by using the built-in
SET_WINDOW_PROPERTY('W_CALENDAR', VISIBLE, PROPERTY_FALSE);
On the calendar button on your first window you obviously have a WHEN-BUTTON-PRESSED trigger. Place below code at the beginning of the trigger to show the calendar W_CALENDAR window.
SET_WINDOW_PROPERTY('W_CALENDAR', VISIBLE, PROPERTY_TRUE);