Hello,
Please see the attached screen shot. It shows 2 ChartView in which the pies are not aligned. The reason is that the text in the legends on the right are not the same width. Therefore the purple pie chart gets pushed over more to the left than the red one. The goal is to get them aligned.
One solution that was offered to me was to set the legend position to "bottom", but this isn't feasible to us since we want to minimize the height of the splitpanel as much as possible and adding the legend to the bottom will only increase the height.
What I'd really like is to have a way of setting the absolute position of the pie charts. I'm wondering if this is possible. Is it? Is there another solution?
Hi,
By default the Design view of the RadMarkupEditor has no horizontal and vertical scrollbar. By using the following code, I was be able to show the scrollbars:
oDesignView = mEditor.GetType().GetField("designView", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(mEditor) as WebBrowser;
oDesignView.ScrollBarsEnabled = true;
However, it has a side effect which I find rather annoying. See the screenshot in attachment to see the effect. The vertical scrollbar appears next to the "default" scrollbar. For the horizontal scrollbar there is no such problem. Is this a known issue and is there a way to avoid this behavior?
Thanks,
Tom
Private
Sub
GridClipboardPrep(sender
As
System.
Object
, e
As
Telerik.WinControls.UI.GridViewClipboardEventArgs) _
Handles
GVComputerSearch.Copying
Dim
copyStr
As
String
= ConvertSelectedDataToString(sender)
Clipboard.SetText(copyStr)
End
Sub
Private
Function
ConvertSelectedDataToString(grid
As
RadGridView)
As
String
Dim
strBuild
As
New
System.Text.StringBuilder()
Dim
row
As
Integer
= 0
While
row < grid.SelectedRows.Count
Dim
cell
As
Integer
= 0
While
cell < grid.SelectedRows(row).Cells.Count
strBuild.Append(grid.SelectedRows(row).Cells(cell).Value.ToString())
strBuild.Append(vbTab)
System.Math.Max(System.Threading.Interlocked.Increment(cell), cell - 1)
End
While
strBuild.Append(System.Environment.NewLine)
System.Math.Max(System.Threading.Interlocked.Increment(row), row - 1)
End
While
Return
strBuild.ToString()
End
Function
Hi all,
RadGridView can't rectangle all cells as long as I use "Windows7Theme"
The mouse will stop on middle cell when you drag you mouse.
Please my code. Thanks.
public partial class MyForm: Form
{
private Telerik.WinControls.Themes.Windows7Theme windows7Theme = new Telerik.WinControls.Themes.Windows7Theme ();
public MyForm ()
{
InitializeComponent ();
Telerik.WinControls.ThemeResolutionService.ApplicationThemeName = "Windows7";
this.radGridView1.Location = new System.Drawing.Point (0, 0);
this.ClientSize = new System.Drawing.Size (600, 300);
this.radGridView1.Size = new System.Drawing.Size (600, 300);
this.radGridView1.MasterTemplate.MultiSelect = true;
this.radGridView1.SelectionMode = GridViewSelectionMode.CellSelect;
this.radGridView1.MasterTemplate.SelectionMode = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
this.radGridView1.MasterTemplate.ShowRowHeaderColumn = false;
this.radGridView1.MasterGridViewTemplate.ShowRowHeaderColumn = false;
DataTable dataSource = new DataTable ("Test");
for (int i = 0; i < 40; i++)
{
string ColName = string.Format ("Col{0}", i.ToString ());
dataSource.Columns.Add (ColName, typeof (string));
}
this.radGridView1.DataSource = dataSource;
for (int i = 0; i < 40; i++)
{
DataRow datarow = dataSource.NewRow ();
for (int j = 0; j < dataSource.Columns.Count; j++)
{
string sText = dataSource.Columns[j].ColumnName;
sText += i.ToString ();
datarow[j] = sText;
}
dataSource.Rows.Add (datarow);
}
}
I have implemented custom grouping for a GridView and would like to change the group header background color for some groups based on the grouped rows.
How would I do that?
-Lou
Hi,
Gridview sort fails when column contains null values or incompatible row values.
See the following errors when sorting using the column header.
Brian
Dear Support,
How can I implement grid with multiple headers or like child header. Any live example or code snipped will be appreciated.
thanks
arvind
Hi everyone,
I used the CellFormatting event to Format all cell's Background and border.
So, when i click on a cell, I don't see the selected row/cell.
Is there any way to set an higher priority to the selected cell/row than the cell formatting ?
Thanks in advance.
Best regards,
Tony