Hi,
in VirtualGrid, is there a way to set the default filter descriptor (different from "contains")?
Something like you suggest for the Grid control (https://www.telerik.com/forums/how-to-set-default-of-filterdescriptor-operator).
Thank you,
Emanuele
Hi,
in VirtualGrid, if I use CTRL+X or "Cut" in the default context menu, the "Copying" event handler is fired.
I'm able to customize the context menu and add a specific callback for the "Cut" button.
But is there a way to understand if the "Copying" event handler is fired after the CTRL+X or CTRL+C shortcut? (I'm using the 2024.5.514.48 UI for Winforms version)
Thank you,
Emanuele
Hi,
I am trying to show data in a postgres DB in a RadVirtualGrid. Data is big and continuously flows and changes, so I decided to use RadVirtualGrid, first I started witf RadGridView with VirtualMode on but decided to use RadVirtualGrid, hope thats the correct decision?
I can show the data correctly and get updates via LISTEN/NOTIFY mechanism of Postgres.(sometimes it stops updating but I think it is a postgres side problem) . I couldnt make the filtering work.
With regards to code I attached, Is it really possible to use the FilteringColumn which is shown when RadVirtualGrid.AllowFiltering==true.
When I enter a value to filter it doesnt work and filter textbox dissapears:
Here I hit 'APPLY FILTERS' button or pres enter key it show like below:
My reqs are:
* Display data with minimum delay
* Filter with column values. Some columns are decimal but some are enums so instead of writing the enum value in the filter having a dropbox (excel style) would be good.
* Filtering will work on all data not just on the visible rows in the grid. Also filtered grid should be updated when new data arrives.
* Sorting (optional)
* Export data to XML (all data not only the visible rows)
Thanks in advance !
Hi,
is there a way to clear the selection completely in a VirtualGrid?
I have a simple VirtualGrid with SelectionMode=FullRowSelect and MultiSelect=true. When I use the ClearSelection method the arrow in the row header is still visible and also the last clicked cell (see the attached video in the zip file).
Thank you very much.
Emanuele
Hi,
is there a way to skip non-editable columns when I use "Tab" key to navigate the cells in WinfForms VirtualGrid?
I saw that for Kendo UI there is a solution (https://docs.telerik.com/kendo-ui/knowledge-base/grid-tabkey-navigation-exclude-noneditable-columns) but I cannot find anything for WinForms VirtualGrid.
Thank you very much.
Emanuele
Hi,
I saw that in GridView you can create a group for the column header (https://docs.telerik.com/devtools/winforms/controls/gridview/view-definitions/column-groups-view).
Is it possible to have the same feature in VirtualGrid?
I need something similar in the attached image. Just a simple group description without additional filters.
Thank you very much.
Emanuele
Hi,
is there a way to show a checkbox cell also when the user add a new row in a Virtual Grid?
The screenshot are taken from your code example, I only changed AllowAddNewRow to true.
Also, is there a way to set default values like the DefaultValueNeeded event of RadGridView?
Thank you!
I'm trying RadVirtualGrid with Hierarchy but when columns are resized, and needs to show scrollbar, height of child table element is not updated.
Is this a bug? Can I update it manualy?
Other issue I have noticed is: when child column header is wider than parent row, it is not longer resizable:
This is the code used in this examples:
public partial class Form1 : Form
{
private int parentRows = 4;
private int parentColumns = 4;
private int childRows = 2;
private int childColumns = 6;
public Form1()
{
InitializeComponent();
this.grid.CellValueNeeded += (s, e) =>
{
if (e.ViewInfo == this.grid.MasterViewInfo)
{
if (e.ColumnIndex < 0) return;
else if (e.RowIndex == RadVirtualGrid.HeaderRowIndex)
{
e.Value = "HEADER_" + e.ColumnIndex;
}
else if (e.RowIndex < 0)
{
e.Value = "FIELD_" + e.ColumnIndex;
}
else if (e.RowIndex >= 0 && e.RowIndex < parentRows)
{
e.Value = "Value (" + e.RowIndex + ";" + e.ColumnIndex + ")";
}
}
else
{
if (e.ColumnIndex < 0) return;
else if (e.RowIndex == RadVirtualGrid.HeaderRowIndex)
{
e.Value = "CHILD_HEADER_" + e.ColumnIndex;
}
else if (e.RowIndex < 0)
{
e.Value = "CHILD_FILED_ " + e.ColumnIndex;
}
else if (e.RowIndex >= 0 && e.RowIndex < childRows)
{
e.Value = "Child_Value (" + e.RowIndex + ";" + e.ColumnIndex + ")";
}
}
};
this.grid.QueryHasChildRows += (s, e) =>
{
e.HasChildRows = e.ViewInfo == this.grid.MasterViewInfo && e.RowIndex >= 0 && e.RowIndex < parentRows;
};
this.grid.RowExpanding += (s, e) =>
{
e.ChildViewInfo.ColumnCount = childColumns;
e.ChildViewInfo.RowCount = childRows;
};
this.grid.RowCount = parentRows;
this.grid.ColumnCount = parentColumns;
}
}
Hi there,
I´m switching for radgridview to radvirtualgrid but i´m having some problems in keeping some of the funcionalities i previously had.
1) Conditional Formatting is possible in virtual grid?
2) Enable grouping (https://docs.telerik.com/devtools/winforms/controls/gridview/grouping/setting-groups-programmatically) is also another funcionality that i would like to keep in my virtual grid but i can´t find anything online related to it.
Thanks in advance.
How to use multiple lines when editing cells?
https://www.telerik.com/forums/auto-row-height-with-multiline-cell
Although I refer to the above page, cells with multiple lines work normally, but cells with only one line do not display text in Edit-Mode.
private void gridTextData__CellEditorInitialized(object sender, VirtualGridCellEditorInitializedEventArgs e)