datagrid

Animation in DataGrid of Silverlight Application - How?

I'm starting to kick Silverlight around (although it currently feels the other way around) by rewritting an existing ASP.NET application - as good a place to start as any I thought. I have 'mastered' pulling data from a database, through a service and into a datagrid and also populating image elements in the rows. So far so good. Now i...

Add and Retrieve Rows aaded to DataGrid using Javascript ASP.Net 1.1

I am able to add a row by using javascript DOM cloneNode method, Now I would like to read all the Rows of the dataGrid on the Server side. Any Help would be appreciated ...

programatically add column & rows to WPF Datagrid

Hello Guys, i m new to WPF. i just wana know how should we add Columns & rows programatically to DataGrid in WPF. The way we used to do it in windows forms. create table columns , rows & bind it to datagrid. i believe WPF datagrid is bit different the one used in ASP.net & Windows form ( correct me if i m wrong). Basically i have No ...

Checkbox in Datagrid header ClientID (JQuery)

Within a masterpage I have a standard DataGrid: <asp:DataGrid ID="dgMyGrid" runat="server" AutoGenerateColumns="false"> <Columns> <asp:TemplateColumn> <HeaderTemplate> <asp:CheckBox CssClass="Checker" ID="cbSelectAll" runat="server" /> </HeaderTemplate> <ItemTempl...

smart paging with datagrid

Hi, How do I configure my datagrid to use paging such that it won't pull ALL the rows from the database, but rather only the rows for the current page. BTW, should I be using a datagrid still or is there a newer control? ...

Wpf Datagrid Virtualization Issue when setting cell colors

I'm working with the wpf toolkit datagrid and have a column that is populated with toggle buttons. Using the below style I change the background color if the toggle button is selected and also on mouse over. Unfortunately if I have virtualization enable, when I make a select of a toggle button in a cell and scroll down in the grid I wi...

Flex Datagrid Sort Stopped Event

In Adobe Flex, when user presses and releases Mouse on a column header in a Datagrid, the corresponding sorting function for the column is called. Is there a way to figure out, when does the sorting stop? Basically, there is a column "Serial Number" in the datagrid, which I want to relabel, when the sorting for a particular column happen...

WPFtoolkit and its DatagridColumnHeader

Hello guys! I need to have different context menus in my datagrid - one for its header and one for rows of a grid. So I'm handling MouseClick event and than I need to evaluate if the underlying object for mouse cursor is Datagrid's header. Can you explain me how can I make this? The thing that I can't understand is that neither of DataGr...

Code thinks Datagrid footer textbox is empty...

Hello All, I am working on an .net (C#) web application. Recently a defect came my way that stated that when two users were logged into the application at the same time they both could not update values without one refreshing the page. When I looked into the issue I discovered that the author of the code has used static datasets. I c...

Is there a lightweight datagrid alternative in Flex ?

What is the most performant way of displaying a table of data in Flex? Are there alternatives to the native Flex Datagrid Component? Alternatives that are noted for their rendering speed? Are there other ways to display a table? I have a datagrid with roughly 70 lines and 7 columns of simple text data. This is currently created and lo...

how to create a datagrid in C#

here i am not using any database to populate value . i want to add a datagrid to a form .and when i execute it user enters value and i use them . i need a similar implementation of table for eg i have two columns and user enters values i use them for calculation . here i am not populating values from or to a database ...

The Columns property on my WPF Toolkit DataGrid isn't set despite the DataContext being set.

I've created a DataTable using reflection to get the properties from my class and set this as the DataContext for my Microsoft.Windows.Controls.DataGrid: // Create the columns based on the data in the album info - get by reflection var ai = new AlbumInfo(); Type t = ai.GetType(); dataTable.TableName = t.Name; foreach (PropertyInfo p i...

How do I access the text of a selected BoundColumn of a DataGrid?

<asp:DataGrid ID="dgResetPassword" DataKeyField="user_id" OnItemCommand="resetSelect" CellPadding="10" HeaderStyle-BorderStyle="none" AutoGenerateColumns="False" runat="server" ForeColor="#333333" GridLines="None" Width="550px"> <Columns> <asp:ButtonColumn DataTextField="sap_id" HeaderText="SAP ID" /> <asp...

Updateable Data Grid using Linq to SQL in WinForms

I'm populating a datagrid using Linq--standard kind of stuff (code below). For some reason however my ultraDataGrid is stuck in some kind of read-only mode. I've checked all the grid properties I can think of. Is that a result of binding to a Linq data source? Anyone have example code of an updatable grid that uses Linq? db = New Data...

DataGrid: Help accessing a control defined in a CellEditingTemplate

Hello, I am using the WPF DataGrid with a DataGridTemplateColumn. The DataGridTemplateColumn.CellEditingTemplate contains a ComboBox with IsEditable set to 'true'. In my RowEditEnding event handler, I'd like to read the Text property of that ComboBox - the only problem is that I don't know how to retrieve the ComboBox instance within ...

WPF Datagrid -DataGridTemplateColumn tab focus issue

I am using Microsoft WPF datagrid. I have noticed a strange behavior with WPF datagrid DataGridTemplateColumn. When you use the templateColumn in the grid and the template column contains some controls when you tab from the previous column the focus is not automatically given to the first element declared in the template column. The fouc...

Setting background color for datagrid row in Adobe Flex

Hi Folks, I need to programmatically change the background color for a single row in a datagrid in Flex. I've scoured the Net and found reference to "dg.setPropertiesAt," which is not a supported method (according to the compiler). Also, there are suggestions to extend the dg's "drawRowBackground" method but I need to set the backgrou...

How to display a datagrid in a new window (using callprint) but with CSS formatting?

Datagrid displays in new window with the javascript function callprint but losers all css formatting. Is there a way to fix this? ...

c# code for select all checkbox in wpf datagrid

I need some c# code to select / deselect all checkboxes in a datagrid in WPF 3.5 framework. I would like to do this by clicking a single header checkbox in the grid. Please help. ...

Linq to Entities Binding, Filtering and Editing in WinForms

1) Binding to The following populates a READ ONLY WinFrms grid: Dim query = (From profile _ In db.profile _ Where profile.employee.employeeId = employeeID _ Select profile.description) Me.DataGridView.DataSource = profileQueryList 2) Binding to the entity itself makes the WinForms gri...