Hi
1) I have a requirement to display numeric data in the grid (this must be read-only), and in the first cell of each column I need to display a "unit of measure" (e.g. "cm", mm", "m", etc). Additionally, when the user clicks on this cell it should display a combobox, allowing the user to change that column's measurement unit (selecting an item will involve recalculating the data that is bound to the grid). So my question is - is it possible to mix content in a column like this, i.e. numeric data in some cells, and a combobox in another cell? Can you suggest a way to achieve this?
2) I want the ability to right-click a cell and bring up some kind of popup or panel containing a simple form (various controls to manipulate that cell's contents). I've found how to select the cell that has been right-clicked, but is there a way that I can position the popup/panel over that cell? Or am I best just using a WPF Popup control with Placement="MousePoint"?
3) In some cells we need to provide a visual indication of the validity of the data, but rather than use colours to do this, we would like to display an image/icon alongside the numeric value. Is this possible?
Thanks in advance
Andrew
1) I have a requirement to display numeric data in the grid (this must be read-only), and in the first cell of each column I need to display a "unit of measure" (e.g. "cm", mm", "m", etc). Additionally, when the user clicks on this cell it should display a combobox, allowing the user to change that column's measurement unit (selecting an item will involve recalculating the data that is bound to the grid). So my question is - is it possible to mix content in a column like this, i.e. numeric data in some cells, and a combobox in another cell? Can you suggest a way to achieve this?
2) I want the ability to right-click a cell and bring up some kind of popup or panel containing a simple form (various controls to manipulate that cell's contents). I've found how to select the cell that has been right-clicked, but is there a way that I can position the popup/panel over that cell? Or am I best just using a WPF Popup control with Placement="MousePoint"?
3) In some cells we need to provide a visual indication of the validity of the data, but rather than use colours to do this, we would like to display an image/icon alongside the numeric value. Is this possible?
Thanks in advance
Andrew