I'm trying to think of a way to make an individual cell within a datagrid glow.
I know that you can apply a dropshadoweffect like this to the whole grid:
[data:DataGrid.Effect>
[DropShadowEffect BlurRadius="100" ShadowDepth="0" Color="Red"/>
[/data:DataGrid.Effect>
but what I really want to do is have the individual cell glow red...
Hi guys and girls,
I Would like to narrow down my problem as follows:
1) I have a datagrid where one of the columns is rendered using a symbol containing an input text control as well as a static text control which looks almost like this: [],000 (where '[]' implies the input textbox.
2) my cell renderer renders the column correctly. I...
We are contemplating using the DataGrid component from DojoX in our web applications. The problem I have is that it doesn't seem to play well with fluid (a.k.a. liquid) CSS layouts -- it seems to like every width predefined. In fact the documentation warns about the automatic width for the columns feature and my attempts to use dynamic w...
Hi,
I am stucked at the part where I have to bind a collection to a dynamic usercontrol. Scenario is something like this.
I have a dynamic control, having a expander , datagrid, combobox and textbox, where combox and textbox are inside datagrid. There are already two collections with them. One is binded with combobox and another is bind...
Hi,
Is there a simple way to re-ordering the columns of a DataGridView that are bound to a DataSet at runtime?
I can do it simply via the DataGridView "Edit Columns" dialog at design time but have to remember to do this every time make changes to the form (remove or add the DataGridView to the form).
Thanks
...
Problem: The data I'm trying to display is essentially a collection of collections of some object. So the rows can be any number, normal for a datagrid, and the columns are also any number. That's not so normal for a datagrid. Usually you have a set number of columns and your rows vary. The datagrid cell will be either a string or a valu...
Is it possible to template the container for datagrid rows so that they can wrap horizontally? eg in the ItemsControl you can simply change the ItemsPanel to use a WrapPanel.
I can't use a ItemsControl because I want to use the Grouping support in the DataGrid when bound to a DomainDataSource.
...
I have the need to show some of my WPF Datagrid rows as read only or not depending on a property on my bound model.
How can this be done?
...
What is the best approach to bind a WPF DataGrid ItemsSource to an ObservableCollection of ObservableCollections ?
e.g.
public ObservableCollection<ObservableCollection<MyDataItem>> DataValues = new ObservableCollection<ObservableCollection<MyDataItem>>();
where MyDataItem may look like this:
public class MyDataItem
{
public s...
I'm trying to bind datagrid to xml:
<StackPanel.DataContext>
<XmlDataProvider Source="bill.xml" XPath="/Foods/Food"/>
</StackPanel.DataContext>
<DataGrid Width="190" Height="200" HorizontalAlignment="Center" VerticalAlignment="Top" Foreground="Black" ItemsSource="{Binding}">
<DataGrid.Columns>
<DataGridTextColumn Header="Quantity" Fon...
i am using .net 2.0, i have a datagrid and a textbox. i want a live search in datagrid on textchange in textbox. please tell me how to implement it. (vb.net preferred)
...
In the application I'm developing at the moment I'm using a datagridview to display data. To fill it, I've to press a button and a backgroundworker will start running, it will fill a datatable and when it's finished running it will use the datatable as the datasource for the datagrid. This works fine, the UI stays responsive et cetera.
B...
I want to save remotely (on a database) the state (visible columns, columns width and order) of a Flex3 DataGrid.
For width and visibility I can simply save them by accessing each column attribute.. ugly but possible..
But for the order? Do I have to create the dataGrid dynamically??
Any idea is appreciated
thanks
...
I need to locate a cell/column in a Silverlight 3 DataGrid so that I can call UpdateSource on it. How can I do that?
This is why, in case you're interested:
I have a DataGrid in a Silverlight 3 app which displays objects which are decorated with DataAnnotations attributes such as [Required], for validation purposes. I'm populating th...
I am trying to use a datagrid whose first column is a comboxbox. This combobox has a hardcoded static values, possible values are: "Employee, Contractor, Supplier"
How can I show some static values in the datagrid without binding to a datasource.
I am new to WPF so more detailed explanation would help.
...
I am going crazy trying to get a combobox value inside a datagrid by pressing a button external to the datagrid.
here is the code:
mxml
left="243" top="0"
title="Voting"
hideEffect="{fadeOut}"
showEffect="{fadeIn}"
>
...
Hi All,
I'm working on a piece of code at the moment that uses an older style DataGrid to allow the user to enter information into the table. It already has an add and delete button. Currently the user enters information into 3 textboxes that are in the footer, and the other rows use labels to display the information.
Essentially what ...
Basically what I'm doing is using the EditEnding event on the DataGrid to check for certain errors and then if found use e.Cancel and a child window to display the errors.
Now if you just use e.Cancel without the child window the focus stays on the cell and you are able to edit, if after the child window though your focus is still on th...
I have a grid with one fixed column and many other columns. When i do a print (datagrid.Print()) on the second page i have the columns that would not fit onto the first page but without the fixed column (which is only printed on the first). I would like to repeat the fixed column on every page i print as it is the key to the data. Is thi...
I'm looking for recommendations for a spreadsheet-like input facility to sit in an ASP MVC environment.
The client currently has a large number of very complex interlinked shared spreadsheets (which they are effectively running 90% of their core business from) for collecting and processing information. They wish to move this to a web...