datagrid

Fire WPF DataGrid edit from child element

You can refer to this question for background/explanation of what the context to my problem is. Basically, I have a WPF DataGrid bound to an ObservableCollection of an IEditableObject object. In a custom DataTemplate, for one of my columns that involves a flag enum property, I have constructed an Expander whose content is a bunch of che...

Need help with a custom Style in WPF

I'm attempting to build some simple custom styles for the WPF Toolkit DataGrid control. I have a style for the overall DataGrid and a style for the DataGridColumnHeader. I am not setting any control templates, only basic properties. Here is what my sample DataGrid looks like with my custom styling applied: The header has the gradien...

How do you merge cells in a Flex Datagrid?

Is there any way to merge cells (vertically and/or horizontally) in a datagrid? At least, for example, is there a way to show that certain datagridcolumns belong to one group. For example, I'll take three columns: column1, column2, column3. All these three should be grouped to the Category cell with a rowspan of 3 -- a "super header" if...

how to have a link in a datagrid and to pop up a window on clicking the link in flex?

Hi, I have a datagrid with different types of columns, like I have checkboxes, combo boxes and text Inputs as the column types. Now I want one of the column type to a link, with the label "view". All the rows in that column are link with the same label "View" and on clicking it, I want a Pop up window to be opened? This is my code: <...

[Flex] Why does a starting + (plus sign) not show up in a combo box of data grid?

I use several controls with combo boxes and data grids, which I fill using a HTTPService which returns some XML. However in the XML there are some telephone numbers starting with a plus sign (ie. +123456). However in the combo boxes and the data grids the plus sign doesn't show (so it would display as 12345646). It doesn't matter if I u...

how to access textbox and checkbox values inside Gridview using JQuery

how to access textbox values inside Gridview using JQuery ...

Silverlight Update/Trigger IValueConverter in Listbox DataTemplate in a DataGrid

Hi I am building an application to display a datagrid bound to an ObservableCollection of Records, where each record has a Course Object and an ObservableCollection of Results Objects. The course is changed using an autocomplete box. The results collection is displayed in a Listbox with an IValueConverter implementation to change the c...

how to loop over a datagrids rows in flex

I have a DataGrid which contains a DataGridColumn with a textinput and DataGridColumn with a Button. The DataGrid is bound to some XML which displays values in the text box. When the button for a row is clicked I need to get the value out of the text box and save it into the relevant XML node. My solution was just to pass the id of the ...

column resize in flex 3

look at this code (couldn't paste it here it doesn't fit)it represent my real app structure: mxml source code EDIT: the relevant part of the code: <mx:VBox width="100%" height="100%"> <mx:HBox width="100%" horizontalScrollPolicy="off" height="100%"> <mx:VBox width="100%" verticalScrollPolicy="off" height="100%"> ...

WPF DataGrid - row for new entry not visible

The problem is, that the blank row in the DataGrid isn't appearing, ergo user can not add data. Here is the code: System.Collections.ObjectModel.ObservableCollection<CoreVocabularyEntry> dataList = new System.Collections.ObjectModel.ObservableCollection<CoreVocabularyEntry>(); public VocabularyToolWindow() { InitializeCo...

WPF Toolkit DataGrid Multi-Select: How to get SelectedItems out?

I'm using the WPF Toolkit's DataGrid. I've enabled the property on the DataGrid to allow for multi-selecting of rows. How do I get the SelectedItems out? I'm using an MVVM framework to bind my ViewModel to my View. Thanks! ...

How to add a ContextMenu depending on which WPF DataGrid row is right-clicked?

I need to display different options in a ContextMenu depending on which row of a WPF DataGrid is right-clicked. My initial ideas were to accomplish this through either binding or handling a mouse click event, but I haven't had success with either strategy so far. Any help would be most appreciated! Thank you! Denise ...

Silverlight datagrid grouping/sorting behavior

Given a Silverlight 3 datagrid that contains groups which are closed, when a row sort is initiated by clicking on a column header, all closed groups open to show their contents. Is there any way to stop this from happening? I'm using Silverlight 3 with the July 2009 toolkit. ...

Flash datagrid text and masking problem?

I am using AS3, I have a problem in displaying the datagrid. The Datagrid text not showing behind mask. If i put outside the mask, then the data(text) will appear. How do I display the datagridc text/data inside the mask layer? ...

Silverlight datagrid synchronized scrolling

I have two silverlight (2 or 3) datagrids (from the July 2009 Silverlight toolkit) positioned one on top of the other. The top datagrid holds values, the bottom datagrid holds summary values (e.g. total). I want their respective columns to be aligned at all times, even as the user changes the column header widths, column order, and as th...

Deep Nested XML

I am trying to display a list of items in a datagrid from an XMLList. <Series no="1"> <file> <filenum>1</epnum> <prodnum>4V01</prodnum> <title>Series #1 - File #1</title> </file> <file> <filenum>2</epnum> <prodnum>4V02</prodnum> <title>Series #1 - File #2</title> </file> </...

Checkbox on SQL Query in DataGrid.

Following on from - http://stackoverflow.com/questions/1591467/deep-nested-xml I have a checkbox renderer i am placing into my Datagrid. The checkbox needs to do a sql query on the sqllite database and see if the show is marked as watched, if it is then make the checkbox as checked and if not mark the checkbox and not checked. What i w...

Command in a WPFToolkit DataGridTemplateColumn not working

im using the WPFToolkit's DataGrid and im trying to get an edit button working, here is the column: <my:DataGridTemplateColumn> <my:DataGridTemplateColumn.CellTemplate> <DataTemplate> <TextBlock> <Hyperlink Command="{Binding EditVen...

ASP.NET DataGrid within a Repeater

I have a table that has two columns: CommunityID PersonID And A "People" table that has (among other things): FirstName LastName I would like to display a different DataGrid for each community, each datagrid having only the people that are part of that community. I would like to do this without using 4 seperate SqlDataSources. A ...

WPF Grid of Images - Best control to use?

I'm trying to convert my VB project to WPF, and one big problem I'm having is what to do about a large GridView that contains in each cell a single image. The grid needs to be very large so is the best way to do this in WPF a datagrid, or a dynamically generated Grid control, or something else? I'm not sure which controls give the best p...