I have GridViewComboBixColum in a RadGridview, is there the posibility to change the width of the items that are displayed?, because the column is too short to allow see all the items that are contained in the DropDown.
Thanks in advance.
I used BindingList for data binding,
BindingList<Person> personList =
new
BindingList<Person>();
radMultiColumnComboBox1.DataSource = personList;
RadMultiColumnComboBoxElement multiColumnComboElement = this.radMultiColumnComboBox1.MultiColumnComboBoxElement;
multiColumnComboElement.EditorControl.MasterTemplate.AutoGenerateColumns = false;
GridViewTextBoxColumn column = new GridViewTextBoxColumn();
column.HeaderText = "ID";
column.FieldName = "id";
column.Name = "colId";
multiColumnComboElement.Columns.Add(column);
column = new GridViewTextBoxColumn();
column.HeaderText = "Name";
column.FieldName = "name";
column.Name = "colName";
multiColumnComboElement.Columns.Add(column);
Let Person object have two properties, id and name. I set ValueMember to id and DisplayMember to name.
And I set the SelectedValue,
radMultiColumnComboBox1.SelectedValue = person.id;
This is working correctly. But when person.id become null, SelectedValue is not null, instead it select first item of BindingList<Person>.
I can't understand why. Pls answer to me.
I don't see a null text property for a textbox menu item. I need to be able to label the textbox and the null text feature would be perfect for a tight situation like this.
Thanks!
I have a CheckedDropDownList with the CheckAllItem enabled. When I check or uncheck that item, I don't want the ItemCheckedChanged event to fire for all the other items in the list. I want to handle the "All Checked" my self. Waiting for the control to spin through my list, which I could have 100's of items, takes a while, while I have other code running to process based on the items being checked or not.
TIA
Hi,
I managed to get the sets of categorical data points of the lines in the currently visible range (that has been zoomed and panned). Now I need to write excel file with Date (Category) in first column and for each series a column with series' visible values (from the visible range). Is there any direct way to get the datatable of the visible points to write it to excel, or I need to go point by point and write it to datatable one by one?Good Morning,
I have a gridview that loads some info about products in an unbound manner. I am using paging so I load only a handful at a time to quicken the loading process(because it really takes a long time to load many lines at once since there are some image getting/network traffic involved). But when I use paging, the grid still takes forever to load all pages before being usable. Is there anyway to load pages on demand? By on demand I mean click on the number of a page and load only the items that show on that page.
What I tried so far:
foreach
(ECommerceDTS.PRODUCTSRow row
in
eCommerceDTS.PRODUCTS.Skip(radGridView1.GridViewElement.PagingPanelElement.ZIndex * PAGE_SIZE).Take(PAGE_SIZE))
{
productEcomm =
new
ProductEcommerce(row);
listProducts.Add(productEcomm);
i++;
}
This works wonderfully loading only PAGE_SIZE items. The problem is that it loads only the first page, and the grid doesn't show other buttons to go to page 2. Is there any workaround this? Maybe hardsetting the number of buttons to show even if there are no items loaded?
Another question: Am I right to assume that ZIndex of the PagingPanelElement means the index of the selected page?
Thanks in advance. Kind Regards,
Leandro
I use dgv.PivotGridElement.SelectRow(row) to select a specific row. I now need to ensure this row is visible(displayed) to the user.
How do I now scroll to the specific row? The radGridView control has a EnsureVisible function on the rowInfo class, but I'm not finding anything on the PivotGrid
I've tried PivotGridElement.ScrollTo() but it's not working for me.
Is this possible, how do I accomplish this?
I'm using release 2015.3.1104.40
Thanks
Hello,
I want to scroll the virtual grid to a specific row index.
The amount of row is know to the virtual grid by assigning it to this.radVirtualGrid1.RowCount.
So I thought it must be easy to scroll the grid to a specific row index programmatically.
But the usage of
this.radVirtualGrid1.TableElement.RowScroller.ScrollToItem(rowIndex);
this.radVirtualGrid1.TableElement.ScrollTo(rowIndex);
did not work as expected.
What is the easies way to scroll the virtual grid to the desired row index?
Thank You!
Regardss
Ingo