' Set up grouping
Dim descriptor As New GroupDescriptor
descriptor.GroupNames.Add("ReportTypeId", System.ComponentModel.ListSortDirection.Ascending)
Me.ReportGridView.GroupDescriptors.Add(descriptor)
Hi,
I m new to using Telerik controls and working on using a radgridview in my project. I have to bind a string DB column(Y/N) to a check box column in the grid and when user changes the check boxes, appropriate check box state has to be converted as Y/N and save back to the business entity object which was bonded. I have used the type converters to convert the TRUE/FALSE values to Y/N, but for some reason, they are again becoming as TRUE/FALSE before committing the dataset. Can anyone throw some light on whats happening here?
Also not sure about which event to handle when user changes the check boxes and appropriately change corresponding Be updated. Thanks much in advance.
Grid column binding with DB column with type converter:
GridViewCheckBoxColumn checkBoxColumn = new GridViewCheckBoxColumn();
checkBoxColumn.DataType = typeof(string);
checkBoxColumn.Name = LocationDo.GenerateSheetsColumn;
checkBoxColumn.FieldName = LocationDo.GenerateSheetsColumn;
checkBoxColumn.HeaderText = "Generate Tests?";
checkBoxColumn.DataTypeConverter = new ToggleStateConverter();
dgvLocations.MasterTemplate.Columns.Add(checkBoxColumn);
dgvLocations.Columns[LocationDo.GenerateSheetsColumn].Width = 55;
Property definition:
[TypeConverter(typeof(ToggleStateConverter))]
public string GenerateSheets
{
get { return _GenerateSheets; }
set { _GenerateSheets = value; }
}
Thanks,
-Chandra
Greetings.
I'm newbie, as 2nd day newbie.. never used .net, nor tools like this...
I developed a demo for trying to engage Company Director and purchase tools...
after little strugle, it worked.. My system is built with openedge 11.6.3.
When I run the windows desktop application (client networking, prowin32.exe) (client-server and few appserver apps) on Director's windows 10 pc,
Got error about: "telerik.winforms.radchart" not installed and stuff.... I installed several products from telrik.com, but I bet they are for developing time, not runtime..
Is anybody able to guide me on this task?
Thanks in advance....
Greetings from Mexico.
I would like to decorate the text of my nodes at runtime with a label showing the child count in a different color and font. How can I achieve this?
Hi,
I have a radgridview control which has a binding of a data set (A), In a specific scenario couple of columns in A which has a value in it should show in a combo box control which actually have a set of different possible values in it. I have separate data sets(B & C) bound for those combo box columns. However the current value of the column from A should automatically select in the appropriate value of combo boxes of ( B & C) when I load the data. How can I achieve this. Below is the sample code I have.
dgvLocations.DataSource = _LocationBo.Do.Table.DefaultView; // Main datagridview control data source - A
GridViewComboBoxColumn configColumn = new GridViewComboBoxColumn();
dgvLocations.MasterTemplate.Columns.Add(configColumn);
configColumn.HeaderText = "Configuration";
configColumn.DataSource = _LocationConfigCdBo.Do.Table.DefaultView;
configColumn.FieldName = LocationDo.V_ConfigurationColumn; // Column name mapping from the A dataset
configColumn.ValueMember = LocationConfigCdDo.TypeCdColumn; // Column name mapping from the B dataset
configColumn.DisplayMember = LocationConfigCdDo.DescColumn;
configColumn.Name = LocationDo.V_ConfigurationColumn;
The combo box was successfully loading the values from the dataset B, however it is not showing the selected value from the A. Please advice.
-Chandra.
I am using the pivot grid and have a field called Category and Subcategory when I filter down The Category the Subcategory should only show the fields that are associated with the given category. Right now it shows all of the subcategory records and makes it hard to work with.
How would I implement this?
Thanks,
Tim
Hello
Two questions
1. I have filtered few elements in Row/Column Group Descriptor. On a button click i want a list of GroupDescriptor which are being filtered.
Like in screenshot attached, i want when click on a button Vintage, Commodity, Period should be shown in messagebox as these are filtered ones.
2. I want to make one global flag to be true if we do any kind of change in my PivotGrid. Like Drag/Drop, Filtering, Sorting or any thing.
Hi.
I want to put a button on the form that would copy the chart to the clipboard, so that I can paste it to MS Office apps.
I know there is an export function, but is there a way to do a copy to clipboard?