datagrid

How can I select a datagrid row using the Compact Framework 3.5, based on data values rather than cell/row index?

Hello StackOverflow; I have a solution running on version 3.5 of the Compact .NET framework, which has many forms on it and datagrids on those forms, utilised to display data from a Sql CE database. I use an implementation of IBindingList as the source of each of these datagrids, so that I can monitor the state of the underlying data a...

WPF Datagrid Column Width codebehind

Hi, i would like to replace the following xaml code : <Custom:DataGridTextColumn Header=" " Width="*"/>in codebehind. This xaml code fills my header to the end with my style.. this is what i want to get |name | number | this area uses "mystyle" end of grid ->| this is what i now get : |name | number | unstyled area! ...

New help converting XML Data Set, Datarid to HTML output using C#, .NEt 2.0

In a new class I'm writing, I need to take the contents of an external XML data feed and convert it into an HTML table via C# and .NET 2.0 (cannot go any higher due to server constraints). Since we reuse the code, I'm putting this functionality into a class. Here is the XML Loader class: using System; using System.Web; using System.Data...

C# vertically oriented DataGrid: change column names

I'm currently using a technique I found while poking around the interwebs for flipping a datagrid's orientation in C# for a SharePoint web part. It's working correctly, pulling data from a SQL Server 2005 database and displaying it in the datagrid. I'd like to know if there is a simple way to change the column names, either using an exte...

Flex custom sorting capabilities with server side support

The sorting capabilities that are available in Flex assume that you have access to all the data, but I'm using a paginated datagrid (with custom code), the datagrid is binded to an ArrayCollection instance, on the next page call I change the data of the dataprovider and everything works ok, but for sorting I need to override the click or...

in wpf datagrid how to get the blank row on top?

in wpf datagrid how to get the blank row on top? ie when user wants to add new row, it always comes at the bottom. But I want it to be on top ... can i do this in XAML ? ...

ObjectDataSource does not call SelectCount Method

Hi, can you please help me to find the problem: I want to implement simple DataGrid and ObjectDataSource bundle with paging my .aspx file <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...

How to destroy RowDetails control when visibility collapsed

I'm trying to figure out how to get the grid to completely destroy my RowDetails control when I collapse its' visibility. I use a cloned copy of the item in that control so I don't truly save it until my service completes. Since the grid is re-using that control it's using the cloned version of the item which is causing incorrect behavio...

Silverlight 3: Bind from a combobox in one datagrid cell to one in another cell

I have a Silverlight datagrid where two of the columns are comboboxes. One of the comboboxes is bound to an unchanging Dictionary and is displaying the list of Keys. For the other combobox, I want to populate it with a hardcoded list of strings based on the Value of the selected item in the first combobox. A little more context - the Va...

How do I enable right-click on a link in a Dojo DataGrid?

I have a DataGrid set up where the first column contains a link (Dojo 1.4, escapeHTMLInData=false). When the link is right-clicked, it changes color briefly, but nothing happens. How can I make the right-click show the browser's usual context menu for links? ...

Programmatic property setting for maps in Hazelcast?

Is there a way to programmatically set the "time to live" property (or in fact, any property) for a distributed map in Hazelcast? I want to avoid having to change the Hazelcast config XML for this. I am using Hazelcast version 1.7.1 ...

window singleton

Greetings, In our application user may click on item in datagrid and new window with list of companies is shown based on that item. Client wants this window to be non modal and if window is already opened and user clicks on different item in datagrid this window will be reloaded with new data from item in datagrid. How can we achieve it...

ASP.NET C# GridView.ShowHeader and other properties

I am using an ASP.NET GridView control, created dynamically with C# on a SharePoint web part. I am having some troubles setting the properties. Specifically, the ShowHeader property seems to be completely ignored, and it is set like so: gv.ShowHeader = false; This seems to work fine with the System.Web.UI.WebContro...

Asp.Net datagrid row selected event

In asp.net App I am using datagrid.Is there any event fired when a row is selected?I am not using any select button in grid. ...

How to prevent clicking on a checkbox from firing the datagrid's selection_changed - Silverlight 3

Hi there! I am currently using a Datagrid binding to a list of items in Silverlight 3. Each row has two checkboxes. Anyone please help me how to prevent the Datagrid from firing the Selection_Changed event each time I click on any checkbox? I have been stuck with this for some days, deadline is coming near. ...

Using one data source for multiple datagrids in Flex3

Hi there! I want to use one data source (e.g. an Array) for multiple Datagrids that have different filterFunctions attached and show different columns. First, I thought I use a very straight forward apporach: create the Array create an ArrayCollection for every DataGrid and set the "source" property to the Array create the DataGrids an...

Flex dataGrid columns missing header text

I created a component that is multiple datagrids side by side that share the same columns (each datagrid is the same as the one before but with different data). Problem The header text only shows up on the last datagrid. How can I get the text to show up on all the datagrid headers? Here is how I instantiate the component. ...

WPF binding to individual 'rows' (not columns) of a datagrid possible?

Hi, Ok. This is a tricky one: (for me at least) I have a datagrid. A column of the datagrid is a simple <DataGridTemplateColumn> with its CellTemplate containing a <DataTemplate> which contains a <ComboBox> <my:DataGrid Name="dataGridMain" AutoGenerateColumns="False"> <my:DataGrid.Columns> <my:DataGridTemplateColu...

Dojox Datagrid contains data, but shows up as empty

I'd really appreciate any help on this. There is this Dojox Datagrid that I'm creating programatically and supplying JSON data. As of now, I'm creating this data within JavaScript itself. Please refer to the below code sample. var upgradeStageStructure =[{ cells:[ { field: "stage", name: "Stage", width:...

How can I get a datagrid to behave like the ctrl key is active?

I want my data grid to behave by default as if the user is holding the control key down. So when an item is clicked, then another item they are both part of the selection, clicking them again removes them from the selection. I already have allowMultipleSelection = true but I can't seem to find any setting that does this. I'm working on ...