datagrid

Update Silverlight Datagrid After Response from Server

Hi, I got a datagrid in Silverlight. I would like the datagrid (or usercontrol that contains the datagrid) to post to the server when the user edit a cell in the gird. to signal to the datagrid using some symbol in the cell edited (like a loading-symbol) that a post is sent to the server and the control is waiting on a response. to si...

Adobe Air/Flex + SQLite database problem

I'm still a newbie to Adobe Air/Flex, and still fairly new with SQL. I've downloaded this (http://coenraets.org/blog/2008/11/using-the-sqlite-database-access-api-in-air…-part-1/) code and have been looking over it and I'm trying to implement the same idea. I think it's just something stupid. I'm using Flex Builder. I made a new deskto...

Binding a object with a sub objects as properties to a datagrid

Good morning, I am working with an object which has sub objects with in (see example below), I am attempting to bind a List to the datagrid. When I bind the List<>, in the cell that contains the subObject I see the following Value ... "namespace.subObject" ... the string values display correctly. Ideally I would like to see the "Descri...

WPF DataGrid Sync Column Widths

I've got two WPF Toolkit DataGrids, I'd like so that when the user resizes the first column in the first grid, it resizes the first column in the second grid. I've tried binding the width of the DataGridColumn in the second grid to the appropriate column in the first grid, but it doesn't work. I'd prefer to use all xaml, but I'm find wit...

How do you get the proper mapping name from a binding source bound to a List<t>, or an anonymous type, to use on a DataGridTableStyle?

I'm trying to create a DataGridTableStyle object so that I can control the column widths of a DataGrid. I've created a BindingSource object bound to a List. Actually it's bound to an anonymous type list created though Linq in the following manner (variable names changed for clarity of what I'm doing): List<myType> myList = new List<myTy...

ASP.NET Datagrid - hiding a specific row/column

I am using a Datagrid with several columns of data (call it myDG) and one of these columns is a DateTime bound to a datasource. Its value is dependent on a "job" object completing a job and assigning the date time value. Since this normally takes up to a minute the value is left unassigned at the beginning. The column's asp.net definiti...

On a Silverlight 2 datagrid, how can I get a collection of only the rows that are edited?

I load data into my grid using a WCF service. When a user clicks 'Submit' on my silverlight 2 control, I want to send only the edited rows back to my WCF service for updating. Is there a good way to do this? ...

C# - Modifying a Data Table

I have a Data Table that is filled from a database connection. I would like to run checks on the Data Table like replacing the numbers with text and add my own data before binding it to the Data Grid for viewing. How do I access one piece of data in the Data Table? Thanks. ...

"freeze" one column in flex datagrid

I'm using a datagrid to display a column of date ranges and several columns of data. I'd like to make the first column (the date ranges) fixed; i.e. that column stays in place when the user scrolls the other columns. That way, the dates column will always be visible as the user scrolls through many data columns. I don't see a datagrid...

how did you or do you handle the DataGridCell edit events in WinForm Datagrid .Net 1.1?

Since Winform Datagrid in .net 1.1 lacks of cell edit events like Datagridview in 2.0. i am wondering if there are certain workaounds in order to add validation events when users finishing editing a cell in a datagrid. wishing our customer to let us upgrade his apps to 2.0 at least ...

Adobe Flex control missing vertical scroll bar

I have a canvas containing a datagrid. I set horz and vert scroll to 'off' for the canvas, and set both to 'auto' for the DG. This works until I have a larger number of columns in the DG (>=16), then the vert scroll bar doesn't appear. Anyone seen this and, better yet, have an answer? TIA, Perflexed ...

Weird ItemRenderer behavior

I have a really odd issue with an ItemRenderer. I have a main.mxml container with a ViewStack. When a user logs in, the initial view contains an AdvancedDataGrid--containing some data and the ItemRenderer below--which simply displays a Delete button. When the user logs in, this AdvancedDataGrid is automatically refreshed from the databas...

How can I programmatically insert an additional row into an ASP.NET DataGrid?

I would like to programmatically insert additional rows into a DataGrid (to act as subheadings). I have followed a number of articles online (namely option 3 from http://aspalliance.com/723) but they all result in the row being displayed correctly, but with no contents. Here is the important part of the code I'm using: private void MyD...

How to avoid Column Shrinkage in DataGrid ASP.Net

I have a DataGrid with AutoGenerate Columns Set to true. SomeHow the Column Names are Shrinking . I dont know how but they are not even changing if applying css to them. What could be the reason. ...

Data Grid in ASP.NET MVC

Is it possible to use a datagrid control in a mvc "view"? How would I bind it to a datasource? ...

ASP.NET DataGrid and custom paging

I'm trying to implement a DataGrid in ASP.NET, and want to achieve custom paging so that I don't have to provide all the data in one go. I've spent several hours researching on the internet, but haven't found anything useful. When I view the page I see the first set of results in the grid, with the previous link disabled. When I click ...

jquery hyperlinking like google

Hi, have you ever noticed how in gmail, as the emails are updated in your inbox, you get a hyperlink to it like so: http://mail.google.com/mail/#inbox/23e0377656b24123 and if you click on that link it doesnt reload the page? Can you do that with jquery and a datagrid? So that you get links to items in your grid, which is populated as...

Silverlight DataGridRows in a DataGrid - how do I hide them selectively?

I have an ObservableCollection feeding a DataGrid thats updating nicely. The point: I want to filter (collapse) the rows without removing them from the collection. Is there a way to do this, or place a view on the Grid like normal .Net? ...

Showing a tooltip inside a datagrid

I'm trying to show a windows forms tooltip inside a datagrid to highlight an error. The problem I have is that everytime I call tooltip.Show("You have an error", datagrid, 0, 0), The tooltip is confined within the datagrids boundaries and doesn't go outside, which ultimately means the tooltip itself covers up the actual row where the e...

Converting a WPFToolkit DataGrid from 1D list to 2D matrix

Hello - I am wondering if anyone has attempted the following or has an idea as to how to do it. I have a WPFToolkit DataGrid which is bound to an ObservableCollection of items. As such, the DataGrid is shown with as many rows in the ObservableCollection, and as many columns as I have defined in for the DataGrid. That all is good. Wha...