
I'm using GridView in Telerik 2017.2
CellFormatting event doesn't firing when my GridView is Updating:
myGrid.TableElement.Update(GridUINotifyAction.StateChanged);
when i'm changing my DataSource:
myGrid.DataSource = currentRaces;
but RowFormatting is firing on this events. What can i do? I need to change color of my cells!
Hi,
I have a gridview with a child template (X) and another template (Y) into the child template (X) and have a decimal column in (Y).
I want to SUM the decimal column in (Y) into a cell of parent row in (X).
Thanks,,,
The article here shows how to save state, but it fires them on manual changes, I am trying to detect when this repopulation is going to happen, I have other events unrelated to the UI that are changing the state of the object the treeview is bound to. and would like to be able to detect when that happens.
http://docs.telerik.com/devtools/winforms/treeview/how-to/keep-radtreeview-states-on-reset
the overarching goal here, is to prevent the tree expanded state from resetting when the tree bound data is updated off the control.


If have a panorama on a form
have groups in them with sections like
Actions
-->tileCustomers
-->tileSuppliers
...
Settings
Maintenance
...
And a panorama2 called
having a group called Actions containing tiles of
Add customer / edit customer etc.
want to show() when someone clicks on tile of () panorama.
like a simple show/hide forms.
if hide() panorama1 and show() it work as soon as hide panorama1 all is hidden.
Is there a simpler way of doing
basically trying to make a tile menu system where each menu has multiple sub menus, but not show all at once.


private bool ResetCellsColor(RadGridView radGridView){ Boolean ret = true; try { GridViewColumn gvc = null; if (radGridView.Columns.Count > 2) { gvc = radGridView.Columns[2] as GridViewColumn; } if (gvc == null) { ret = false; } else { for (int i = 0; i < radGridView.Rows.Count; i++) { if (radGridView.Rows[i].IsVisible) { GridViewRowInfo gvri = radGridView.GridElement.GridViewInfo.Rows[i] as GridViewRowInfo; if (gvri == null) { ret = false; continue; } GridCellElement gce = radGridView.TableElement.GetCellElement(gvri, gvc) as GridCellElement; if (gce != null) { gce.ResetValue(VisualElement.ForeColorProperty); gce.ResetValue(VisualElement.FontProperty); gce.DrawFill = false; } else { ret = false; } } } } } catch{ ret = false; } return ret;}
Is there any way to detect/is there an event raised when a user cancels an insert?
When the user clicks to enter data on the new row, pressing escape twice or clicking off the row twice cancels the insert and reinstates the "click here to enter a new row" banner.
Is there anyway to detect when this happens?
I am trapping when a user starts an insert, and also trapping the AddedNew event to detect when the user completes an insert but also need to know when they choose to cancel one.
Many thanks,
Mark
