I've got a DataGrid in a Silverlight application with data in it. There's also a button on our app that can change the layout such that the DataGrid changes width.
The problem is when you are in the "small" mode and scroll around, for columns that you can't see, their DataGridCell elements get Visibility=Collapsed. Now this is fine when...
in C# i am just trying to create a common function for creating a gridview. here the user just passes the gridview column type, caption and the field name. these parameters are of type string.
so can any one help me out, how to convert the column type which is passed as string to the respective grid data column data type??? (one simple ...
I have an ExtJS based application. When editing an object, an ExtJS window appears with a number of tabs. Three of these tabs have Ext GridPanels, each showing a different type of data. Currently each GridPanel has it's own JsonStore, meaning four total AJAX requests to the server -- one for the javascript to create the window, and one f...
I have a DataGrid in WPF app with several columns, including a Name column. If the users switches to a particular view, I want the data to be pre-sorted by Name (and I'd like a sort arrow to appear in the Name header just as if the user had clicked that header). However, I can't find the expected properties to make this happen. I was loo...
Thanks in advance,
I am trying to iterate over a datagrid in Silverlight 3.
I need to walk thru all items, or just the selected items and pull some of the column data so I can do an updates in my database.
So in a button click event I have been trying foreach loops but can't find the right combination.
Thanks,
Rich
...
I have a WPF DataGrid that shows some data records (bounded to an ObservableCollection).
When the user clicks "Edit" button, the currend selected row should move into edit-mode (As if the user double-clicked this row).
Any idea of someone who knows how to do that ?
...
I have an Xceed datagrid v2(express) bound to a list of viewmodels. Each viewmodel consists of several types of objects. For example a viewmodel with a specific contact and its employer object.
In the grid I show the contact information and some employer information.
What I want to do is get the information shown in the grid instead of...
I am attempting to create an AttachedProperty for a DataGridColumn within Silverlight 3.0 and I am having some issues.
Here is the AttachedProperty:
public class DataGridColumnHelper
{
public static readonly DependencyProperty HeaderProperty =
DependencyProperty.RegisterAttached("Header", typeof(string), typeof(DataGridColu...
I would like to create a data grid that scrolls both vertically and horizontally and has sticky row and column headers (so you can scroll the data while still viewing the row/column headers). What is the best way of doing this?
I've considered creating my own custom DataGrid view that handles its own rendering, but this seems like a lot...
Situation:
I've created a DataGrid in XAML and the ItemsSource is binded to an ObservableCollection of a certain class that contains properties. Then in C#, I create a DataGridTextColumn and a DataGridComboBoxColumn and binded these to the properties of the objects inside the ObservableCollection. I can bind the DataGridComboBoxColumn...
I am facing a slight problem with both events clashing with one another.
I have a column displaying a link button, so that when user clicks on it, it would direct them to another page displaying the data in the specific row of the datagrid.
Below the datagrid, I have number pages, which just so happens to be a link button as well and ...
Hi
I'm using the latest version of infragistics DataGrid (9.2).
Unfortunately, Paging is not supported out of the box.
I wish to implement this behavior by myself.
I refer to paging as the ability to give the grid an illusion of many results and fetch for it the necessary items depends on the view as it is needed.
the reason for me ...
I use a componentone datagrid for WPF.
added a unbound column with a bool.
for every checked row, I need to add an ID value to a field, as soon as the checkbox
is checked for this row in the grid.
...
hi,
I have recently begun development using c# and wpf. In our application we have a DataGrid object that we would like to bind to a list. However we do not want all entrys in the list to be bound, only those that meet a certain criteria. The reason that we cannot bind to a seperate list (ie. bind to a list created by the applying th...
Is there a library or plugin that could be added to a Flex project to add pagination to a Flex Datagrid?
...
I´m writing on a webpart for sharepoint, so I have to generate a Datagrid problematically.
The Situation is that I get a Dataview, generate the Gris and bind the Data.
One column should show a Image, so I have to generate a template column with item template.
So code looks like this:
//Instantiate the DataGrid, and set the DataSource
...
Hi,
I have a WPF Datagrid that I am using with a number of columns. One of the columns has some elements that are sometimes null and this causes an exception when I try and sort on this column.
The definitions of the columns is something like:
<dg:DataGrid.Columns>
<dg:DataGridTextColumn Binding="{Binding MyObject.Field1}" Header="F...
I have a DataGrid which I am binding to a PagedCollectionView which is Grouped and Sorted. The contents of the DataGrid are not editable although one column contains a clickable link.
I have restricted the SelectionMode of the DataGrid to DataGridSelectionMode.Single which stops multiple Row selection which is good. But the selected row ...
Problem with passing arraycollection to Advance datagrid. My Arraycollection structure like `
private var groupList:ArrayCollection = new ArrayCollection([
{Country:'India', children:[
{Country:'Series1', children:[
{Matches:'India Test series 1',isEnable:false,id:1,isSelected:true},
...
I have a problem with my WPF application.
I have a datagrid (Wpf Toolkit), I have to manage a Row validation...if validation result is false I would that the other row isn't selectable.
Therefore I have to block the selection to current row that I edit.
How can I do? Any ideas?
...