I have some columns with `CellStyleSelector` and `CellTemplateSelector` which associating with a property in row data, when the property changed in code behide, both StyleSelector and TemplateSelector are not refreshed.
now I have got the row which need to refresh from `ItemContainerGenerator`, but have no idea to do that.
RadGridView.Rebind() works but it might be a little heavy.
public
void
RefreshRowTheme(
object
rowData)
{
var container =
this
.grid.ItemContainerGenerator.ContainerFromItem(rowData);
if
(container !=
null
)
{
var row = container
as
GridViewRow;
if
(row !=
null
)
{
//how to re-apply StyleSelector and TemplateSelector on all cells
}
}
}
Thanks.
Hi Telerik,
Our users would like to zoom in/out of a GridView via 'ctrl-mouse wheel up/down', much like Excel zooms in and out of the spreadsheet.
Could you please help or give an example of how to do this with the RadGridView?
Kind regards
Hello,
I have a gridview control which items is automatically updated from time to time. A user has ability to group items in the grid (using standard drag and drop approach). However, after items updating groups collapse, even if they were expanded. If I set AutoExpandGroups = false, groups will be always expanded after update.
I would like to save expand/collapse group status. Is it possible to implement?
Thank you in advance
I was reading about using glyphs the other day and it sounds very interesting, but it's not clear from any of the documentation how to use them with implicit styles.
The overview page says "In order to use the glyph references and the font as StaticResources in a project, you need to include the Telerik.Windows.Controls.dll and merge the required dictionary in the application resources.", but I am using all "no xaml" files, so I'm not really sure how those things fit together.
Hi,
This is my code :
var selectionIntervention = this.SelectedIntervention;
this.SelectedIntervention = null; --> OnSelectedItemChanged firering!
this.SelectedIntervention = selectionIntervention; OnSelectedItemChanged not firering! Why? :'(
I would like to remove the gap above the tabs (see red box in attached picture) so that they align with other controls. Is there a way to do this without redefining the entire control template?
It doesn't need to be in XAML; I can find and modify the element in code behind if needed, but I can't figure out where the gap is even coming from. I used this technique to edit some margins that were buried deep within control templates.I looked through the live visual tree but didn't see any obvious margins or padding that were controlling it.
Hi!
I have two issues with the zoom for the timebar (I am plotting a RadColumnSparkLine in it)
1) I want to be able to set the initial zoom level (I have the period start to end for 3 days). I want the initial zoom to be for 1 day and then the user can zoom out to see the whole 3 days period if he wants.
2) Allow keyboard integration so the user can zoom with Ctrl and + and zoom out with Ctrl and -
Thanks!
I need to highlight text when searching performed through search panel in Rad grid which contains custom columns
1st column contain "TextBlock" in cell template as data template
2st column contain "RadRichTextBox" in cell template as data template
and detail row also contain rich text box.
Highlight Text = not color change of text but need background color change as shown in attached screen short
Builtin search filtered the rows while searching how to stop that behavior and only highlight background of text in all rows.