datagrid

WPF input datagrid?

I would like to create an input DataGrid - an empty set of rows with the column headers that can be filled with data by a user and then saved to a database. The DataGrid will not be therefore used to display data but acts like an input field. The behaviour would be similar to the one of Excell. The problem is that if the DataGrid has no ...

Is there any Flex dataGrid implementation which has features similar to XtraGrid?

I am looking for a Flex datagrid component that has features like grouping, sorting, master/detail display, etc. I am having an application in C# that uses XtraGrid suite to achieve the required datagrid features. I am planning to migrate this application to Flex. If there is no flex component readily available with XtraGrid features, th...

JavaFX Datagrid

Hi All. Im in the verge of starting a new RIA development. We've been using Flex/Flash for the last 2 years but we were considering using a more OS approach so we though giving JavaFX a try since it seams the only solid option available. However after a couple of days of research we found out that there is not such thing as a datagrid f...

adding non-data controls in nested silverlight datagrid

I am using nested silverlight datagrid. I am using RowdetailsTemplate to show 2nd level of datagrid. Once all the data in 2nd level of datagrid is shown, I want to add a stackpanel at bottom each row in second grid. This stackpanel will have some controls in it. Is there anyway I can acheive this? <datagrid1> <row1> <datagrid2> ...

Why I can't style the DataGridTextColumn?

When I tried to create a Style to DataGridTextColumn with the following code: <Style TargetType="{x:Type DataGridTextColumn}"> ... </Style> Visual Studio 2010 highlight {x:Type DataGridTextColumn} by blue line and said: Exception has been thrown by the target of an invocation. ...

Flash Builder (Flex 4): datagrid populated by XML, how can I add an image in some of the rows?

I have a DataGrid table with columns name, phone. In column name I would like to add a picture near the name of the person. How can I add a picture in a datagrid row? <fx:Declarations> <fx:XMLList id="people" xmlns=""> <test> <name>moshe</name> <phone>555</phone> </test> </fx:XMLList> </fx...

Validating a value for a DataColumn

Hello! I'm using a DataGrid with edit functionalities in my project. It's handy, compared to having to edit its source data manually, but sadly, that means that I'll have to deal with validating user input a bit more. And my problem is basically just that. When I set my DataGrid to EDIT mode, modify the values and then set it to UPDATE...

Silverlight DataGrid's sort by column doesn't update programmatically changed cells

For my first Silverlight app, I've written a program that sends user-supplied search strings to the Flickr REST API and displays the results in a DataGrid. Said grid is defined like so: <data:DataGrid x:Name="PhotoGrid" AutoGenerateColumns="False"> <data:DataGrid.Columns> <data:DataGridTextColumn Header="Photo Title" Bindi...

datagrid itemcreated and itembound enents are not firing ?

I have a DataGrid which i am using on the page alogn with 4 tabs. Clicking on each tab different datasource is getting bing to the data grid. Now following is problem, There are 4 tabs of UI I have written code to bind data source to data grid on onclick event of tab (which is linkbutton) However when i am clicking on the tab data gets...

Changing the value of datagridComboBoxColumn on checking/unchecking of check boxes in datagridcheckbox column in a wpf datagrid

I have a wpf data grid,where there are two data template columns One of which ahs check box as the data template adn teh other has combo box as the data template. Now my requirement is,i need to disable few of the options in the combo boxes depending on the check box checked or unchecked for each individual rows... With the cod etaht i...

How to add template column to datagrid dynamically

Hi I've my template column like this > <asp:TemplateColumn HeaderText="Name" > SortExpression="Name"> > <ItemTemplate> > <table style="width: 100%"> > <tr> > <td colspan="2"> > <asp:LinkButton ID="lnkbtnname" CssClass="LabelStyleTxt" Width="200px" > runat="server" > Text='<%#Eval("Name") %>' CommandName="ViewL...

WPF datagrid column heading span more than once column

In a WPF datagrid is it possible to group column headings? What I'm after is | Column 1 | Column 2 | Column 3| | a b c | a b c | a b c | | z x y | z x y | z x y | I've searched around and can't see an obvious way of doing this. I could use a templated column and then mimick the extra cells within the each template bu...

Tabbing to a check box item renderer in a datagrid

Hi, Can anyone tell me if there is a way of tabbing to a CheckBox, being used as an itemRenderer in a DataGrid, if the column that uses the CheckBox as the itemRenderer has editable set to false? ...

How to select all the text when the edit textbox in a DataGridTemplateColumn receives focus ?

I'm trying to get a DataGridTemplateColumn to behave identically to a TextColumn when the cell goes into edit mode (Press F2), the user can immediately start typing in the new value by default, existing text content is selected - so that you can set new values easily Got the first one done ; however selecting all the text isn't work...

WPF DataGrid default column types

Hi, I'm using a DataGrid to display 2 possible types of DataRow in a DataTable. One type has the column Parent = NULL and the other has Parent set to another DataRow in the same DataTable. The list of column in the DataTable is always different, so explicitly describing each column is not possible. I want to display a UserControl in ev...

DataGrid for WPF and Silverlight

Is there a DataGrid component that behaves the same in WPF and Silverlight? There are some small differences in DataGrids from MS (WPF and Silverlight Toolkits). For example, while WPF version has CanUserAddRows property, Silverlight version does not. ...

Is there a way to associate a Command with a WPF Toolkit DataGridHyperlinkColumn?

Hi: Is there any way I can associate a Command with a DataGridHyperlinkColumn? I've tried this: <DataGridHyperlinkColumn Header="Client Name" Binding="{Binding ShortName}"> <DataGridHyperlinkColumn.ElementStyle> <Style TargetType="TextBlock"> <Setter Property="Hyperlink.Command" ...

WPF DataGrid extended "copy and paste"

Hi, How can I make the WPF DataGrid have some sort of improved "copy and paste" where I can select a single cell , copy using Ctrl-C , select a bunch of cells of columns and paste using Ctrl-V ??? So for example...in the image bellow ...I want to be able to copy the "Tech" word to all the highlighted cells just by a Ctrl-C on tech, a s...

Add new row: ListView vs. DataGrid

Hello! I have been looking around and even found a couple of related answers and didn't get a certain answer to my question. Is there a way to have in the WPF ListView an additional row like in a DataGrid? I prefer using the ListView since I use 3.5 and the DataGrid is not officially in the box and has many quirks. I would prefer using...

WPF passing the Int argument to a data object provider method

Hi, I'm trying to produce a master/detail datagrid view. I'm using object data providers. Now I have seen many examples when the argument of a method for returning the records for the detail view is a string, like in this example: <!-- the orders datasource --> <ObjectDataProvider x:Key="OrdersDataProvider" Obj...