I have a DataGrid I'm binding to a DataTable, and displaying three BoundColumns as a result.
I would like to have a fourth column that connects with different data-- for instance, if column #3 in the DataGrid is a UserID, I would like to use that…
I have a datagrid for my customer data. My customer entity has a collection of notes exposed.
I need a method of displaying an image in a column based on the notes status, if any of my notes have a status of "warning", then display a warning image…
I'm still having some problems getting the hang of WPF. I feel that this is probably a simple question, and I'm wondering why I can 't get this to work like I think it should.
I'm trying to use a DataTrigger to show that a value in my DataGrid is…
I am using ExtJs 4, and added a grid to show my records. Grid is also showing images on each row. To show images I am using templatecolumn xtype. There can be one or two images for each record. its {id}_original.{extension} or {id}.{extension}.
My…
I am using Silverlight 5 and in a view I have a Button that, when clicked, loads a particular state. This is done using an EventTrigger and the GoToStateAction markup like so:
I'm trying to show the Validation.error message inside a tooltip in my DataGrid cell but without success. Here is the code of the concerned column. Please tell me if i'm doing something wrong.
I did get the idea of the converter from this tutorial
…
I have a GridView with a template column. In it I have a hyperlink control and I set it's visibility and Navigate URL dinamically using Eval. It all works fine but now I have to add a tooltip to the control, and I need to trim the space and comma at…
I have a unbound DataGridView with two columns. First column is just string values.
Second column I want to display a combobox, only when user click the cell(not the whole column as DataGridViewColumn). I use the below code which is incorrect and…
I am working with a web application in VS2010. I want to change the visibility of a Template Column based on which button is pressed on the webpage. This is what I am currently doing:
This seems a bit bizzare: I have a Datagrid with a button column which deletes the row when the button for that row is clicked. BUT if I set the Datagrid SelectionUnit="Cell" then the button column is disabled and I can no longer click the button.…
I'm fairly new to Silverligt 5 and xaml for that matter and I have come across a problem. I have a datagrid containing a template column. This template consists in a bunch of TextBlocks, images and other controls. I've customized the way the grid…
I have information that was gathered from a service about TFS builds put into ViewModels.
Here are the models:
public class Collection : ViewModel
{
private string _name = string.Empty;
public string Name
{
get { return _name;…
I've constructed a DataGrid by adding columns programatically using the following snippet:
var check = new FrameworkElementFactory(typeof(CheckBox), "chkBxDetail");
dgDetalle.Columns.Add(new DataGridTemplateColumn() { CellTemplate =
…