datagrid

DataPager and Datagrid, How to move to the page of current selecteditem

In a Silverlight project I have a view with a list (DataGrid) of cases. The list is paged with DataPager. My source collection is wrapped in an PagedCollectionView. When an item is created it is added to the list and set as selecteditem in the DataGrid, depending on the list sorting, this could be on another page the the current active ...

DataGrid cells not displaying copied values

I am writing a "clone" function for data grid rows. When I clone an existing row the values do not appear in the cells until one of the following events: Manually clicks to another row in the grid I call the "AcceptChanges()" method. If i call the AcceptChanges method I then lose the "Added" property of the row and it becomes "Unchan...

wpf user interface ideas for datagrid presentation

Hello I need to create a desktop lob interface presentation where a user has crud capabilities on items in a list, which is why I am thinking of using the wpf datagrid control. Does anyone know of a widely available program that has an inspiring interface? I am just drawing a blank right now - I can't even think of an MS office list ba...

How to make WPF DataGrid Column Header transparent

Hi, I am trying to make the column header of my WPF Datagrid to be transparent. I am able to set it to a color without problem, but I can't have it transparent. Here is what I tried: <Style x:Key="DatagridColumnHeaderStyle" TargetType="{x:Type tk:DataGridColumnHeader}"> <Setter Property="Background" Value="Transparent" /> <Sette...

Flex DataGrid - How we get object of Custom Control from a cell

Hi. I have a quick question about getting the value from control which I added in my data grid by Item render and how can I get that control object when I am clicking on the cell of that column. ...

Retrieving FlexGrid Item

i have following xml <?xml version="1.0" encoding="UTF-8" ?> <Users> <User> <ID>SMSUser(63)</ID> <Email>[email protected]</Email> </User> <User> <ID>SMSUser(64)</ID> <Email>[email protected]</Email> </User> </Users> Above is bind with a datagrid as below <mx:Script> <![CDATA[ ...

WPF Datagrid binding custom column headers.

I am trying to figure out how to bind a WPF DataGrid's column header and main data to a data source using an MVVM pattern. The result I'm looking for would look like this: I've successfully styled the headers here, but I'm unsure how to bind the values in the headers. Specifically, the IsChecked property of the check-box, the selected...

datagrid with fixed header and scrollbars

Is possible set fixed header and scrollbar in a datagrid? How can i do? thanks ...

Silverlight get selected row data in DataGrid

Hi, In my Silverlight application I have defined a datagrid with an template column containing a radio button as follows: XAML: <data:DataGrid x:Name="Grid1" Margin="8"> <data:DataGrid.Columns> <data:DataGridTemplateColumn Header="RadioButtons"> <data:DataGridTemplateColumn.CellTemplate> <DataTe...

How to make Silverlight DataGrid wide enough to show entire RowDetailsTemplate

I am creating the DataGrid and RowDetailsTemplate in code, so I don't have XAML to share. Sorry about that. As you can see the RowDetailsTemplate is truncated. Any idea how to make the grid wide enough to show the whole thing? Thanks in advance for any assistance. ...

How to enable the browser context menu in dojox.grid.DataGrid?

I'm trying to get the browser context menu to work inside a dojox.grid.DataGrid. When I right-click on the grid now, nothing happens. I tried overriding onCellContextMenu, onRowContextMenu, doContextMenu, and oncontextmenu with empty functions on the grid instance, but that didn't work. The method onCellContextMenu is called on a right-c...

How to use the previous value when validating a WPF DataGrid cell entry?

I have a WPF DataGrid. I would like to restrict the values a user may enter in a particular column, such as the following: Column A values may only increase (new value > old value). Column B values may only decrease (new value < old value). If the user-entered value is invalid, I want to revert to the previous valid value. I thought...

How do I Immediately Validate a Newly Inserted Row in a Silverlight 3 Datagrid?

I have a Silverlight 3 tools library with a custom DataGrid user control. This grid has no direct access to the WCF RIA Services entity types so I'm using reflection to add a new item when the user clicks on the grid when it's empty: private void InsertEmptyRecord() { if (this._dataGrid.ItemsSource == null) return; Type...

Refreshing Telerik's Rad DataGridView data on every x seconds

Hey guys, I am using Telerik RadGridView control in my C# WinForms app. I have user details showing up in the grid. I am trying to refresh data in my grid every x seconds. But no luck so far :( Your help would prove a great favor to me :) Here is what I have in my code-behind: public Dashboard() { InitializeComponent(); thi...

Customising Flex Datagrid or alternative solutions

I'm currently building an application that is presenting tabular (fetched from a webservice) data and have squirted it into a datagrid - seemed the most obvious way to present it on screen. I've now come across a few limitations in the datagrid and wonder how I might move forward. As a relative newcomer to flex development I'm a little...

How to show Image Thumb in Flex DataGrid linked to FileReferenceList

Hello I have a Flex datagrid linked to an array collection that gets filled from a FileReferenceList for uploading images to a server. I want to show a thumbnail of the image in one of the grid columns as a preview. I have seen a lot of examples of doing this with an Item Render but those examples where using images on the server. These...

WPF Datagrid : Find Columns currently visible on screen

I want to allow the user to add a column and for that column to appear on screen. Is there a way to find which columns are currently on screen? ...

dojo.data.ItemFileReadStore + dojox.grid.DataGrid + 100% width and height

I want a dojox.grid.DataGrid with a dojo.data.ItemFileReadStore as the data store. I want it to fill the entire screen. I don't want to specify dimensions in pixels. All the examples that I've seen specify them in pixels or use a CSV data store. I've tried using HTML elements and javascript to setup the datagrid and store. Has anyone do...

Silverlight databinding with IronPython and Datagrid

We've been successfully using clrtype with IronPython 2.6 and Silverlight for databinding, based on the example provided by Lukás(: http://gui-at.blogspot.com/2009/11/inotifypropertychanged-and-databinding.html We create the binding when we create the datagrid columns programatically. Because we are using IronPython some of the static...

Silverlight3 bind checkbox list to a datagrid

I have a enum, like public enum TestType { Red = 1, Blue = 2, Green = 3, Black = 4 } I want to attach those values to a datagrid as checkboxes in silverlight 3. (I would like to bind to a listview, but its not exists in silverlight) Manage to get the enums to a ObservableCollection, any help to b...