After trying to develop our own control to display a table of data we stumbled on the WPF toolkit DataGrid and thought we were saved. A couple hours later I'm scratching my head trying to figure out if it can do what we really want it to do. The DataGrid seems to be based on displaying various properties of a single object, where I thi...
Hey Guys,
I am creating a custom DataGrid by deriving the traditional tookit based WPF DataGrid. I want a functionality in the grid to load items one by one asynchronously, wherein as soon as ItemsSource is changed i.e. a new collection is Set to the ItemsSource property or the bound collection is Changed dues to items that rae added, m...
Hello,
I have classes as following:
public class Property
{
public string PropertyName { get; set; }
public int SumSubPropertValue;
private List<SubProperty> propertyList;
public void CalculateSumSubPropertValue
{ // implementation}
}
public class SubProperty
{
public string SubPropertyName { get; set; }
...
How can you have a fixed header on a DataGrid or GridViw and allow the grid to scroll?
I'd like to avoid a solution that uses another separate table for headers.
...
I have the following scenario :
A Flex 3 DataGrid is sitting here
At runtime, a column is added to this grid
The column has a custom ItemRenderer
The ItemRenderer inherits from HBox, and adds a few items to the HBOx dynamically
My problem is that the width of the column doesn't change. As a consequence, my column stays small, and an...
Hi, well I have my users table and my department table, so I have in XAML a Datagrid and a Dataform, in my dataform i have a combobox that is filled from the department table (all possible departments), I bind it to the Department attribute from my user, and it shows it. The problem is that when I click the edit button of the dataform th...
The System.Windows.Controls.Data.DataGrid is used in my Silverlight application, but on attempt to add 'DataGridComboBoxColumn' column to the grid the following error messages are obtained:
Error 1 The tag 'DataGridComboBoxColumn' does not exist in XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls....
I'm relatively new to .Net 4 and I am creating my FIRST WPF application using a MDB as a backend datasource.
I designed my UI. I have a TextField (called Name), a Combobox (called Division) and a DataGrid (called dataGrid1).
The only problem I'm having is figuring out how to link my DataGrid to display data from the DataSource. and loa...
Hi,
I would like to provide variable row height depending upon the content size. is it possible in Slickgrid? Can you point me towards any examples.
Thanks,
...
Hi,
I have a datagrid with itemRenderer in datagridcolumn as my custom component(c1). I am getting the dataprovider data in custom component by overriding the set data function, it is fine. But now my custom component(c1) is also having another custom component(c2).
Now the doubt is - how to get the dataprovider data in c2 component?
...
Hi,
I am working on a datagrid with custom itemRenderer & [Bindable]xmllist as dataprovider. Now the changes done in xmllist are not reflected on datagrid UI until unless I re-assign the dataprovider as the same xmllist.
As the dataprovider is Bindable so re-assigning is not required.
But it was not working so I re-assigned the xmlli...
I have an adobe flex datagrid with a simple custom label itemrenderer in one of the columns. Clicking on the itemrenderer fires off a cairngorm event, which results in a service call being made, and the data from the service call populates a TitleWindow.
Even though I have set the doubleClickedEnabled property to false, its still possib...
I have data grid to which data is getting from database.
After getting the data i have to show entire row information in an alert box. Can any one help me?
Thanks in advance
my function code is:
private function fetch(event:Event):void
{
var selectedRow:Object = event.currentTarget.selectedItem;
Alert.show(""+selectedRow.Detai...
Hi,
Is it possible to have a data grid within a tree structure in flex? Reverse of what advanced datagrid provides{where you can have a tree structure within a data grid}.
...
Has it ever happened to you that a datagrid bound to another element's selecteditems collection, doesn't update the first time an item of the second element is chosen? After the first attempt everything works fine. It is necessary to mention that I've set the AutoGenerateColumns to false, and define the columns myself.
...
I whant to save the sortorder and the selectedIndex from my Silverlight datagrid.
I use:
Application.Current.Resources.Add("CurrentIndex", dg.SelectedIndex);
to save the selectedIndex.
If my list was sorted when i selected a item the index will not be correct when returning to the datagrid.
How do I save the sortorder so the correc...
Hi,
I was wondering if there is anyway of disabling the select all options on the top corner of the WPF DataGrid....this only seems to occur when I add a UserControl to a fixeddocument in WPF.
Thanks in advance,
U.
...
After searching for a fix to this issue in the previous answers I've decided to post my example.
I have the following situation: my datagrid is placed inside a Grid row that is itself placed inside a UserControl.The UserControls does not have a fixed height, as I want the control to resize together with the window. The datagrid is bound ...
flex example to select multiple row selection in datagrid
...
I have an issue with hiding rows in a DataGrid. I do this by creating a new DataGridRow template which has a DataTrigger bound to a property on the objects in ItemsSource. The trigger sets the Visibility of the border of the row to Collapsed if the IsVisible property on the model object is false and vice-versa.
If I set one row's IsVi...