I'm trying to add a button column to the grid i didn't find button in the grid columns after search i found this article
http://www.telerik.com/help/winforms/grid_gridviewcommandcolumn.html
i used the code supplied but the column always show as TextBox and not running the the radGridView1_CommandCellClick event
the button has fixed text(search) that open search Dialog then the selected data from the dialog will be written in the grid row that fires the button click could you please provide some code for adding the the button
I have an unbound checkbox column that can be used to select rows in the grid. But I also need to disable the default method of selecting and highlighting the current row by clicking on it. I would only like to select and highlight the rows that have their respective checkboxes clicked.
I can't find any property that would disable row selection, so how can this be achieved?
I don't know how to make cell elements to readonly.
So I decided to just hide and don't show the TextViewElement.
But when I set GanttView.GanttViewElement.TextViewElement.Visibility to Collapsed, it behaves just like setting it to Hidden.
My view on setting visibility to hidden is that the space allocated for a certain element is still reserved
while collapsed makes the space available for other elements.
I would like to know how will I properly collapse TextViewElement so that GanttView will only show the GraphicalViewElement.
Attached image is a sample of a collapse TextViewElement.
I've implemented the multi select drop down list from the above link and have found two quirks. These issues are both related to the text displayed, I believe there are a few missing event handlers.1) When the popup is open, upon deselecting an item the text is not updated. This works fine if the checkbox is deselected, but not the rest of the row (I assume this is the base drop down list). Just need to call CallTextChanged(), but not sure what event to override to do so.2) Upon selecting an item programatically, the text is not updated. For instance "DropDown1.Items(0).Selected = True" doesn't update the text of the drop down list.
I'm using a RadGrid using a DataSet as the data source, and am setting AutoGenerateHierarchy to true. When trying to expand a row having a large number of child rows (several thousand), the rows are never expanded (I've given up after waiting several minutes.) However, I can copy those child rows into a new DataTable, display them in an new RadGrid control, and it only takes a few seconds for them to be displayed.
Am I exceeding the limits on what can be displayed in a hierarchical gridview?
I can't find the event when i click on a radContextMenu.
I added few items and from my radListControl after right click on radListControl item and choose my radContextMenu item i want to catch my click event.
i only can see that radContextMenu has different events like DropDownClosed, DropDownClosing, DropDownOpened and DropDownOpenning
I have need to have columns in a gridview numeric only, BUT I have to have the cell blank when the field is null...
I have tried using GridViewDecimalColumn but when it's blank and the CellValueChanged event fires I get FormatException "Input string was not in a correct format."
And, of course, if I use a GridViewTextBoxColumn it allows the user to type in letters...
Can anyome suggest how I can get this to work? Not allow letters, but also allow empty columns?