Telerik Forums
UI for WinForms Forum
0 answers
109 views

 Hi ,

I am using the relational gridview. when i click the button , i want the node will be expanded by condition . Follow the link : https://docs.telerik.com/devtools/winforms/controls/gridview/hierarchical-grid/how-to/expanding-all-rows . is it the best way to do it ? because i see it is really slow when expanding.

 

void ExpandAllRows(GridViewTemplate template, bool expanded) {
 foreach(GridViewRowInfo row in template.Rows) {

  if(row.Tag == conditionID){
  row.IsExpanded = expanded;

 }
 }
 if (template.Templates.Count > 0) {
  foreach(GridViewTemplate childTemplate in template.Templates) {
   ExpandAllRows(childTemplate, true);
  }
 }
}

Bao
Top achievements
Rank 1
 asked on 21 May 2019
0 answers
51 views

Hello everyone,

When I design GridViewDecimal Column, I don't want to use automatic data filling. How can I turn it off? Who can help me? Thank you very much.

Specifically as follows: picture_gridview

hong
Top achievements
Rank 1
 asked on 13 May 2019
0 answers
84 views

Hello Everyone,

I am working on a custom user control which has a GridView on it. I have a checkbox column and have the EnableHeaderCheckBox property set to TRUE.  The grid works great; I can click on the Header Checkbox and toggle all checkboxes, etc. However, I am trying to create a method to allow the consumers of this user control to programmatically Select All or Unselect All (basically, mimicking the functionality of the Header Checkbox).

I have tried these but they did not work:

1)

grid.SelectAll();
grid.ClearSelection();

2) 

foreach (var row in grid.Rows)
    row.IsSelected = true;

 

Only this one works, but it takes a little bit of time to select/unselect all rows: 

foreach (var row in grid.Rows)
    row.Cells["Select"].Value = true; //or false to unselect

 

When I click on the Header Checkbox, rows are selected/unselected immediately, which is what I am looking for. I also need to make sure that the grid_CellValueChanged event is fired.

 

Any help is greatly appreciated.

 

Thanks!

 

 

 

 

 

Alex
Top achievements
Rank 1
 asked on 16 Apr 2019
0 answers
117 views

Hello, everyone.

  I used to use the DataGridVew. Rows (a). DefaultCellStyle. BackColor attribute in DataGridVew.

 Now I want to implement:

   DataGridVew1. Rows (a). DefaultCellStyle. BackColor = Color. Red.

How do I implement it in RadGridView? Who can help me?

hong
Top achievements
Rank 1
 asked on 02 Apr 2019
0 answers
41 views

 Hello everyone,

      When I use the RadGridView control, I want to reserve three decimal digits for column 4 of the table, but I can't find the decimplaces attribute using

RadGridView.

For example: GridView_GVDetails. columns ("Quantity"). decimplaces = 3 It is prompted that decimplaces are not a member of GridViewDataColumn.

hong
Top achievements
Rank 1
 asked on 18 Mar 2019
0 answers
78 views

Dear All,

I have a problem.

Due to customer requirements, I set the SelectionMode attribute of radgridvbiew to CellSelect.

But I find that I can't select the whole row, because the row's header can't be selected

But I can't change the SelectionMode to FullRowSelect.

What should I do?

Who can help me?

Best wishes

Ricardo
Top achievements
Rank 1
 asked on 18 Mar 2019
0 answers
106 views

Hello everyone.

     When I use the RadGridView control, I want to add data to the table that can be entered into four decimal places, but when the data is entered,

 it automatically rounds to save two decimal places; I want it to show how to solve multiple decimal places;

hong
Top achievements
Rank 1
 asked on 13 Mar 2019
0 answers
81 views

Dear all,

After setting the selectionmode attribute to CellSelect in RadGridView, look at the photos below.

Click on the area in the red circle and the back cell row becomes highlighted in orange. However, the inner part of the circle does not change color.

This is not a whole row selection, I need a whole row selection

Is that possible?

What should I do?

Best wishes

Ricardo
Top achievements
Rank 1
 asked on 12 Mar 2019
0 answers
51 views
Dear all,

As shown in the image below, the text in my cell is displayed at the top center of the cell.

How do I make it appear in the middle of the cell

It's possible.

Best regards
Ricardo
Top achievements
Rank 1
 asked on 22 Feb 2019
0 answers
49 views

hi

is possible set scroll bar for one cell?

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