I have a grid with header and child rows. Some columns are the same in the child rows but not everything.
How can I align the columns properly that the header and the child are below each other?
vb: colum1 column2 column3 column4
column1 column3
Like in the screenshot. I have to align the yellow, blue and red columns. But the other columns don't have to be visible in the child.
Hi, I have a RadGridView with the first 2 columns pinned, and the other columns allow reordering.
The first 2 columns are pinned, but I can move an unpinned column between the pinned columns or to the extreme left, so now I have three pinned columns.
Is it possible to fix this?
Thanks
We had a project using two RadGridViews in Winforms, one of the features was dragging some info from one of the rows of one grid to other row of the grid.
With olders versions of Telerik controls, when dragging no insert lines appear, but we have updated to current version and now, when dragging one row from one grid to the other one inserting lines appear over or below the row
This is great for most cases but not for this one,
Is there any way to prevent this lines?
HI
Q3 2024 462
When The table contains a large number of rows. (I checked 550 rows and 30 columns (Example) ).
When I scroll with the scroll with the arrow on the screen reduced to the width, the scrolling is reasonable and smooth.
But if I'm on a widescreen the scrolling is stuck and not smooth.
For this purpose, I reduced the screen width and clicked on the scroll down arrow. And in 550 lines it took about 18 seconds to get from top to bottom. On a wide screen it took 50 seconds to scroll from top to bottom
I did the test on a static table that only loaded simple information and presented it without events or other manipulations on the table.
In the real world it is much worse because there are also online updates on the table and formatting. And if there are many rows in the table many times the screen freezes on scrolling.
Please your urgent help.
Example:
using System;
using System.Data;
using System.Windows.Forms;
using Telerik.WinControls.UI;
namespace WindowsFormsApp2
{
public partial class Form1 : RadForm
{
int colCount = 30;
public Form1()
{
InitializeComponent();
this.Width = 650;
this.Height = 1050;
this.StartPosition = FormStartPosition.CenterScreen;
radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.None;
}
private void radButton1_Click(object sender, EventArgs e)
{
AddColumnsAndRows();
}
private void AddColumnsAndRows()
{
DataTable dt = new DataTable();
for (int i = 0; i < colCount; i++)
{
dt.Columns.Add("ColName_" + (i + 1), typeof(string));
}
for (int row = 0; row < 550; row++)
{
DataRow dr = dt.NewRow();
for (int col = 0; col < colCount; col++)
{
dr[col] = "DataTest_C" + (col + 1) + "_R" + (row + 1);
}
dt.Rows.Add(dr);
}
radGridView1.DataSource = dt;
radGridView1.BestFitColumns();
}
}
}
Hi,
In my application I wantg to give the user the baility to select from multiple items using the checked drop down list box control, in adidtion I want to be able to do the following:
1. prevent the user from typing anything in to the RadCheckedDropDownListEditableAreaElement. i.e. the user can select items via the drop down check list.
2. override the text displayed in RadCheckedDropDownListEditableAreaElement, so that
How do I go about achieveing this behaviour ?
many thanks
Toby
I have a grouped by resources scheduler in timeline view with the timescale set to days and I'd like to set the so called "slot-duration" to half-day for the day cell, which can already be done in the aspnet ajax version I link below. Is there a way to achieve this functionality in c# winforms?
Basically I'd like to divide the day slots into two parts to track absences, which can have a half day and full day duration.
https://demos.telerik.com/aspnet-ajax/scheduler/examples/timelineview/defaultcs.aspx
I have for with a radspreadsheet on. ( Telerik.WinControls.UI.RadSpreadsheet )
Which event do I need to use to capture a change in a cell?
For example, if I change cell A2 from value "ABC" to "EFG", how can I get the value "EFG" ?
If I check the documentation: then the CellPropertyChanged event exists, but I cannot find this in my IDE.
Why are the events that I have in my radSpreadSheet different then the documentation?
Hi, anyone can help me with the issue below?
I have a customized theme applied in my application. However, a customized editor doesn't apply the theme. I am not able to override the theme here.
Private Sub RadGridView3_EditorRequired(sender As Object, e As EditorRequiredEventArgs) Handles RadGridView3.EditorRequired
If RadGridView3.CurrentColumn.HeaderText = "Section" Then
e.Editor = New MyAutoCompleteEditor
End If
End Sub
Class MyAutoCompleteEditor
I have a RadGridView that has its first column(named "Visible") as a CheckBox cell in every row.
I have another CheckBox that toggles all the CheckBoxes in the GridView. In this CheckBox's ToggleStateChanged
handler, I am trying to get the checkbox element in the GridView row and toggle its state.
This is what I am trying at the moment:
foreach(var myGridRow in curveGridView.Rows)
{
((GridViewCheckBoxColumn)myGridRow.Cells["Visible"].ColumnInfo).Checked = Telerik.WinControls.Enumerations.ToggleState.On;
}
However, I am unable to get the RadCheckBox element in the GridView Row and I cannot toggle the checkbox in the row.
Any help would be greatly appreciated.