Telerik Forums
UI for WinForms Forum
8 answers
641 views
Hi,
Qs1: How can I set auto size rows mode for the radGridView?

For the windows datagridview, When the cell data is wider than the column, having the auto size rows mode set to Displayed cells will resize the row to show all cell data. How can I have the same in a radgridview?

Qs2: Is there a way to set tool tip text for those cells that have data hidden due to less column width?

Hope you will have solutions for these..
Yvette
Top achievements
Rank 1
 answered on 14 Aug 2009
1 answer
152 views
Hello,

I've discovered an issue in my gridviews where the last row paints over the grid's bottom border when the grid is full of information. Is there a way that I can make the grid border draw on top of the rows? If you guys have trouble reproducing this, let me know and I'll send a theme where this occurs. It actually occurs in all of my themes, so I imagine you guys wont have much trouble. I use a row-height of 18 if that helps.

Thanks!
Jeremy
Jack
Telerik team
 answered on 14 Aug 2009
3 answers
281 views
In order to try to bend the will of the GridView to do something we're attempting, I'm trying to dynamically either completely hide or to change the height of a SPECIFIC group header row down to something 1 pixel in height if the group text is blank.

I've tried all of the following:

 
            if (e.RowElement is GridGroupHeaderRowElement) 
            { 
                e.RowElement.Size = new Size(1, 1); 
                 
                e.RowElement.ShouldPaint = false; 
                e.RowElement.Visibility = ElementVisibility.Hidden; 
                e.RowElement.MinSize = new Size(e.RowElement.Size.Width, 0); 
                e.RowElement.Size = new Size(e.RowElement.Size.Width, 1); 
                e.RowElement.CoercedSize = new Size(e.RowElement.Size.Width, 1); 
                e.RowElement.StretchVertically = false; 
                this.ApplyThemeToElement(e.RowElement, "ControlDefault"); 
            }

All this has done has completely hidden the group rows but still leaves blank space where they shuold be, however now I can't select them (which is nice).

Is there any way to change the size so the space left when hidden is minimized?

Thanks in advance.

Jack
Telerik team
 answered on 14 Aug 2009
1 answer
135 views
I've noticed that multiselecting using shift + arrow does not work. I am using version 2009.2.9.729.
Is it me doing something wrong or does it simply does not support such operation?
Victor
Telerik team
 answered on 14 Aug 2009
1 answer
124 views
hi,

if you put a contextmenu with 2 levels in a grid and deactivate the first level, the second one will still show.
To reproduce put 2 first level entry with some second level entries. 
Make one enabled and the second disabled.

mateo
Jack
Telerik team
 answered on 14 Aug 2009
3 answers
259 views
Hello,

I am having problem setting up conditional formatting with enum value.

The grid is bound to the list of objects which have the enum called Priority { High, Normal, Low }. I am setting different colors based on the priority and the formatting is not working. The case sensitive has no effect.

Any ideas ?
Jack
Telerik team
 answered on 14 Aug 2009
1 answer
233 views
I get one thing sorted then hit another problem, I'm sure someone will now this.

I want to allow the user to choose the SKIN from a combo box and refresh the chart to display the new colour scheme.
I thought it would be an easy bit of code like:

RadChart1.Chart.Skin = "Black"
RadChart1.UpdateGraphics()

Thanks in advance Guru's,

Gary

Robert
Top achievements
Rank 1
 answered on 13 Aug 2009
7 answers
209 views
Hi,

I have a grid (2009 Q2) with a number of GridViewComboBoxColumn attached to them, each of which is populated from an array data source. I wish to highlight one of the items in the combo when it is dropped down for some reason (i.e. changing the font to Bold). To do this I intercept the EditorRequired event to get access to the default editing control being supplied for the cell - my idea is that I can access the created control and manipulate its contents. Here is my method

static

 

void grid_EditorRequired(object sender, Telerik.WinControls.UI.EditorRequiredEventArgs e)

 

{

Telerik.WinControls.UI.

RadComboBoxEditor comboEditor = e.Editor as Telerik.WinControls.UI.RadComboBoxEditor;

 

 

 

if (comboEditor != null)

 

{

Telerik.WinControls.UI.

RadComboBox comboBoxControl = comboEditor.EditorElement.ElementTree.Control as Telerik.WinControls.UI.RadComboBox;

 

 

// Do some work with the combo box control here

 

}

}

However the e.Editor is always Null (the e.EditorType is typeof(RadComboBoxEditor) as expected).

I see from several postings that I would expect to have an instance of the RadComboBoxEditor in the e.Editor property, and that this event is the correct one to do what I'm trying to do.

In addition, other posts have been shown solutions which show that RadComboBoxEditor class has an Items collection, but in my edition of Rad this property does not exist, and I'm guessing my route through to the combo box items collection is through .EditorElement.ElementTree.Control.

Can you help untangle this for me ?

Nikolay
Telerik team
 answered on 13 Aug 2009
1 answer
113 views
Hi :

i have same question about the following thead:

http://www.telerik.com/community/forums/winforms/gridview/rowvalidating-event-missing.aspx


i think this issue is important when add a new row into rad datagrid

will  this issue solved in the latest version?

Victor
Telerik team
 answered on 13 Aug 2009
1 answer
136 views
Hi,
How can i change RadPanelBarGroupElement caption in radpanelbar at runtime
Boyko Markov
Telerik team
 answered on 13 Aug 2009
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?