Telerik Forums
UI for WinForms Forum
1 answer
70 views

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

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Nov 2024
1 answer
47 views

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

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Oct 2024
2 answers
53 views

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 !

 

Bilgehan
Top achievements
Rank 1
Iron
 answered on 01 Oct 2024
1 answer
59 views

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

Nadya | Tech Support Engineer
Telerik team
 answered on 30 Jul 2024
1 answer
57 views

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

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Jul 2024
1 answer
73 views

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

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Jul 2024
1 answer
83 views

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!

Nadya | Tech Support Engineer
Telerik team
 answered on 31 May 2024
1 answer
107 views

I'm trying RadVirtualGrid with Hierarchy but when columns are resized, and needs to show scrollbar, height of child table element is not updated.

 

Example

 

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:

Example 2

 

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;
        }
    }

 

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Dec 2023
1 answer
132 views

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.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Apr 2022
1 answer
295 views

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)
        {
            var textediter = e.ActiveEditor as VirtualGridTextBoxEditor;
            if (textediter != null)
            {
                textediter.Multiline = true;
            }

        }

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Aug 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?