the data has been bind to radgirdview ,how to set the rowspan at runtime ? because must use set DataSource method to render data ,so cann't render the gridview cell by cell.
Is there a way to detect when the user clicks on the column header to sort.
An event like SortStarted and SortFinished?
I'd like to capture that event to perform some special processing.
Hi,
I used to do custom cells by adding controls through "createChildElements" methods, but it was really slow when having multiple columns and row displayed.
So I tried to use graphics only and I did everything in "PaintContent" methods. This is way faster, very smooth, but I sometimes have an error (very randomly) on bounds object (of radshaped form) being lock by another thread.
I wanted to know if this workaround for painting cells approved or not?
If not what/where would you recommand to do this?
Thanks in advance!
Simon
Hello,
I would like to ask for help with designing parameter editor with subitems. I have editor of test items, each item has some parameters and tolerances (Min, Max). Standard tests have just main tolerances, but some tests have also subitems. More precisely, if test has subitems, only subitems have tolerances, main tolerances are not used. Columns for items and subitems are almost the same, items have parameters and subitems don't have any parameters, but there is just a name of subitem instead of test type of parent item. So first attempt of editor looks like this:
One small question to this solution, how can I show "+" only if there are some subitems?
But I am not satisfied with that design, subitems have own border, own column headers, it's little bit confusing and not very clear. I know it's standard way of master-detail views, but in this case, I would prefer design similar to self referencing hierarchy, because columns are almost the same, just some cells are empty and I have name of subitem name instead of test type.
I have made a second test with selfrefencing and changed the screenshot a little bit to show you what I am trying to achieve. Is it possible to have view similar to this?
I think I can do it with some modified data structures specialized for editor, I can use nullable properties for tolerances and parameters to hide certain cells, handle some events to have those empty cells readonly, maybe it would be tricky to show indented subitem name in test type combo box column, but I think this solution would be a little bit ugly. Is there any better way to do this?
I have attached my test project for tests.
I am using an old version of RadGridView and from what I see the property EnableHeaderCheckBox properties not exist.
If there are any properties in an older version that I can use to implement select all by selecting column header.
Hi all,
How do you modify (or prevent) the display default "no data to display" text in when no line or column is yet set up ?
All forum answers are very old an do not work anymore, nor gridview.ShowNoDataText = false;
Thanks
Patrick
I have 2 grids with drag and drop capability, one of them is just a simple grid with 2 columns, the other grid is a grid with 3 Hierarchical Templates that have 3 associated BindingSources.
How can I, when dragging and dropping from the simple grid to the hierarchical grid, determine which Template I am dragging the row to and add it to that Template/BindingSources?
I used exactly the example code you have here (https://docs.telerik.com/devtools/winforms/controls/gridview/rows/drag-and-drop), and indeed everything works.
I just wanted to understand if it's possible to know which Template the row is being dragged to and add it exactly to that Template.
I have a series of grids on a form, and all but the first one is created at runtime. Each grid has the same ValueChanged event handler attached to it. How can I tell which grid fired it?
private void ValueChanged(object sender, EventArgs e)
{
}
I tried intercepting the CellClick event (since that fires first) and getting the id from the tag property into a form-wide variable but that seems like a major kludge.
private async void CellClick(object sender, GridViewCellEventArgs e)
{
myTag = (int)((MasterGridViewTemplate)e.Column.OwnerTemplate).Owner.Tag;
}
Any better ideas?
Thanks
Carl
I have made a Custom Summary grouper to show summary data "inline" with grouped rows, it will be great if something similar could be done native.
I attach project example if someone is interested
I need to quickly develop an 'updater' application that allows updating one or more software. I would like a look similar to the Adobe updater. What should I choose as a component? A grid? A ListView? Is it possible to have a column in the grid that changes its appearance: switches from a button to a progress bar?