UltraGrid | UltraGrid low-latency audio | Video Utils library
kandi X-RAY | UltraGrid Summary
kandi X-RAY | UltraGrid Summary
[C/C++ CI] ../../workflows/C%2FC%2B%2B%20CI/badge.svg)] ../../actions).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of UltraGrid
UltraGrid Key Features
UltraGrid Examples and Code Snippets
Community Discussions
Trending Discussions on UltraGrid
QUESTION
I am loading data from 100-500 XML files into a DataTable
to populate an Infragistics UltraGrid. The files are as small as 100K and as large as 2MB. I've been looking into ways to speed up the load times and considered async, but datatables aren't thread safe.
Looking at the process, loading the xdoc takes about 2/3 of the time, the other 1/3 is in reading the xdoc and adding data to the table.
Is there a way to use async and somehow load the next XDocument
while the previous one is read and loaded into the datatable? I've looked but I'm not seeing a good way to do this in a for each. Are there some other strategies I should consider?
Here's a simplified version of what I'm doing:
...ANSWER
Answered 2021-Sep-08 at 15:49Absolutely, however, there is no single answer to this question. You could do it in several ways, here is one:
QUESTION
The following function is implemented to to remove all selected rows if met the condition from UltraGrid and from database:
...ANSWER
Answered 2020-Dec-10 at 15:27This is because the foreach()
uses collection that the .Delete()
are modifying. Try to use for()
and remove in reverse order:
QUESTION
I have added drawfilter to hide the cells of a particular column in ultragrid by setting the border style to none and removed the borders of the cell. But the border is still visible. Don't know what I am missing.
...ANSWER
Answered 2020-Nov-24 at 07:42Each cell draws its left and right border. Your code correctly removes the borders of the cell in col1
, but it does not remove the borders of its neighbor cells. So if you have table like this:
|col1 |col2 |col3 |col4 |
|cell1|cell2|cell3|cell3|
and you need to remove the left and right borders of cell2 you need to:
- remove the right border of cell1.
- remove the left and right border of cell2.
- remove the left border of cell 3.
Note top and bottom borders are coming from RowCellAreaUIElement
. If you need to remove and these borders you should manipulate and these elements.
Here is how the element tree of the grid may look like
QUESTION
Is there any way to force Infragistics Ultragrid to do not move below row when pressing right arrow key on last column ?
eg having below table, being in cell with "C" value (COL_1, row 1) - if I press right arrow key it moves me to below row (D value), while I woudld like stay in same row, same cell (as Ive reached 'end' of row)
...ANSWER
Answered 2020-Sep-11 at 06:54Navigation in the grid is a result of default KyeActionMapping. What you can do is remove mapping for Right and add a new one preventing last cell state like this:
QUESTION
I have a legacy .NET Winforms application that needs a modification. We're using an Infragistics UltraGrid to display some information. The new requirement is that the grid must be "read-only" in certain circumstances. To that end, I've successfully set the grdMain.DisplayLayout.Override.AllowUpdate
, grdMain.DisplayLayout.Override.AllowDelete
and grdMain.DisplayLayout.Override.AllowAddNew
properties so that the grid is "read-only. But now I need to change the appearance of the grid so that it looks disabled. And this is where my trouble lies. I want to be able to toggle the grid's cell text and cell background color, etc. between looking enabled and disabled. (NOTE: I tried actually disabling the grid with grdMain.Enabled
but when the grid is disabled, users cannot do "anything" with it like resize columns or highlight & copy text. So that was a bust.)
I think I could brute force this and iterate bands and columns or rows and manually set colors, but it seems to me like Infragistics would have though of something like this and there should be a more graceful way of going about it. Any information you can provide would be appreciated.
...ANSWER
Answered 2020-May-23 at 19:46You need to set Activation of either each row, each column or each cell in the grid in order to disable it. Keep in mind if you do so the users will not be able to select cells, nor the cells' text. The cells will be disabled - no highlight or copy text will be allowed.
Other approach you can take is set the cells' appearance. To set the appearance to all cells at once you can use CellAppearance of the Override object like this:
QUESTION
I have a UltraGridCell with style equal to Infragistics.Win.UltraWinGrid.ColumnStyle.URL and add my own handler to UltraGrid.MouseClick so that I can open a new tab if the URL columns is clicked
Nothing is wrong if the URL column is of the value "ABCDE". It looks like a URL link in the cell with underline and blue color (turns purple after click). It just like a URL link in the browser.
The issue is that if the content is of the value like "ABC:DE". It turns out it complains that there is an undefined protocol is calling. Just like you enter "ABC://DE" at the IE URL bar.
After checking in the debug mode, it looks like that this should be called by UltraGrid internally. Hence, my question is: Is there any way for me to disable this default behaviour?
Any help is highly appreciated.
...ANSWER
Answered 2020-Mar-31 at 05:34When you set the column style to Infragistics.Win.UltraWinGrid.ColumnStyle.URL
the editor of the column becomes Infragistics.Win.FormattedLinkLabel.FormattedLinkEditor
. This editor has LinkClicked
event. In the event handler you can get OpenLink
property of the event argument and set it to false
. This will suppress link opening. To do so, first get the editor in the InitializeLayout
event:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install UltraGrid
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page