datagrid

flex datagrid: how to do a multiple selection programmatically

Hi there, I have I datagrid, on which I want to select multiple rows on a other user interaction than the one intended by the Programm. I'm wondering, whether I can programmatically select some rows depending only on code? Thanks, Markus ...

WPF DataGrid Group Style Sorting

I have a data grid that groups on a TypeId. When ever data is enetered into the fileds it wants to sort the data in the Grouped area. I cannot seem to turn that feature off. ...

WPF - DataGrid Column's ToolTip visibility based on the column's data length

In my application, i have tried to implement the visibility of tooltip based on the dataGrid Column's text length by using a converter. I am facing some problems in displaying the toolTip text. In the ToolTip, TextBlock's text binding is not working. If its binded with some hard coded strings, it works fine. Here below is the code tha...

How to reverse items in WPF Datagrid?

If i have DataGrid which looks like: Col 1 Col 2 ------- ------- 1 a 2 b 3 c ... ... n n Can the order be reversed easily without sorting? So that n is first, and 1 is last. I have custom sort implemented from this article, but sorting the same column twice in a row calls sorting function twice (which is ...

Windows Forms mobile application: DataGrid with ComboBox column

Hi folks, I'm working on a Windows Mobile 5 application - C# .NET 3.5. Are you aware of some approach to having a ComboBox column within a DataGrid ? The user must be able to select certain values on certain rows. Thanks. ...

refresh datagrid on view from viewmodel

I have a datagrid on a view that is bound to a viewmodel. When I initialze the view, the datagrid is populated with data from the viewmodel (ObservableCollection) as it should. However, with I try to do a search against the data, the datagrid does not get refreshed from the viewmodel. When I breakpoint the code in my viewmodel, I can see...

Binding DynamicObject to a DataGrid with automatic column generation?

I'm still experimenting with DynamicObjects. Now I need some information: I'm trying to bind an object inheriting from DynamicObject to a WPF DataGrid (not Silverlight). How do I get the DataGrid to automatically create its columns from the available public properties of the object that are typically generated at runtime? Is that possi...

WPF DataGrid DataGridHyperlinkColumn bound to Uri

No problem when binding to a property of string type ( "http://something.com" ). However , I seem to have seen in old examples direct binding to Uri property. <dg:DataGridHyperlinkColumn IsReadOnly="True" Header="Uri" Binding="{Binding Path=NavigURI}" /> NavigURI is Uri . More recent docs seem to require ...

Get content of a single cell from a DataGrid in Flex 3

I want to select information in a single cell from my DataGrid in Flex 3. Specifically, I'm displaying three phone numbers per line and the user needs to be able to select one of those numbers, from any row, but not the whole row. While similar to this, I am displaying the DataGrid to the user. The answer for that question was to manip...

dojo datagrid will make the page "jump" when sorting is changed

Hi, I have a Dojo Datagrid in one of my pages (which contains more content) and the following problem occurs: As soon as I click on a column header to change the sorting, the page will jump up as if I clicked on some HTML-anchor. Funny enough, the page jump will make the grid show only the first two rows after it jumped, instead of (e....

Store columns order of WPF DataGrid.

I developing WPF Application. Also I use WPF DataGrid in my app. I store columns visibility in XML file like <ColumnSysName Visible="true" /> I want also to store columns order in the same file like <ColumnSysName Visible="false" OrderIndexInDataGrid="3"/> How can I do this? Or Maybe you have your technics how to store order for WP...

Reading data back from an editable datagrid in flex.

Hello everybody, I am having an editable datagrid which is populated using an XML object which in turn is populated via a HTTPService. The editable datagrid columns all have an itemrenderer with rendereriseditor property marked true. I need to send the edited data back to the server via an http service. Is there a way that the changes...

How to set HTML list as mx:DataGrid data provider?

So I have Html like this http://trac.edgewall.org/wiki/RecentChanges (I want to create some Flash Track reader which will be opensource) I need to list in my DataGrid Index of all viki pages in form like +-----------+--------+ |page name |page url| +-----------+--------+ | name | url | +-----------...

flex builder datagrids formatting

is there a way to control the text positioning in the datagrid cells in Flex so that all text in subsequent columns align on the same rows? ...

ASP.NET troubles with updating DataGrid binded to custom DataTable

I bind custom DataTable to DataGrid through ObjectDataSource, where i use SelectMethod and UpdateMethod. SelectMethod working great, but when I try to update row it's breaking by MissingMethodException. What should i do to fix this problem? Sorry for my bad english ;) ...

Flex: Double click event propagation on datagrid dependent on component order?

I'd like to have a double click event on a datagrid in Flex3. The following example only works if the Accordion (id = "mustBeSecond") container comes after the DataGrid. Why is the order of the components important and what can I do to prevent this behavior? (The example does not work. If you change the order of "mustBeSecond" and "grid...

Flex - communicating between Itemrenderes in a single row.

Hi, I have a datagrid with an XML object as dataprovider. There are 2 columns in the datagrid which have comboboxes as their itemrenderers. The rendereriseditor property is also marked true. These itemrenderers are defined in their own mxml files. What i want is if the user selects a particular item in the combobox, say NA, then the val...

Datagrid using usercontrol

Hello I am fighting with this problem: I have a usercontrol which contains a textbox and a button (the button calls some functions to set the textbox's text), here is the xaml: <UserControl x:Class="UcSelect" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Nam...

How to display and edit hyperlinks in DBGrid in Delphi 7?

I use DBGrid to display Hyperlink type field from Microsoft Access database (MDB). Normally dbgrid displays hyperlink values like "(MEMO)", without editing capablity. Is there a way to solve this? ...

How do I add additional data to a DataGridRowGroupHeader?

I have a DataGrid that is showing some data via a PagedCollectionView with one group definition. I have created a Style for the corresponding DataGridRowGroupHeader under which I have added a ControlTemplate containing an additional TextBlock and a spacing Rectangle. I would like to bind the widths of these controls to the widths of part...