Hi all,
Ok, here is a weird VB.NET Grid problem. I am sure it is really simple, but it doesn't make sense to me.
I have a grid that displays data from a binding source. I have a method to handle the CellContentDoubleClick which will get the value of the cell and use that to do a new look up. This will generate a new datasource (with...
I am using wpf toolkit data grid. which could have large number of rows which could be contain in multiple pages.
just wondering for best solution to print/print preview data grid contents (rows)
p.s: kindly doesn't suggest printvisual as it doesn't fulfill my requirement and cater some sample along your solution.
thanks
...
Scenario:
I am building a flexible discounting component, whereby discounts can be specified for different types of customers against different types of products (means tested). The discount categories, product types and discount rates are all configurable by the user and ideally I would like the user to be able to view and edit the dis...
Hey,
I try to built a DataGrid, and I want to bind one of the TextColums' Foreground property to a Date, so that it becomes red, if the Date is in the past.
Here the XAML:
<toolkit:DataGridTextColumn
Binding="{Binding Path=Prüfdatum, Converter={StaticResource TimestampToDateConverter}}"
Header="Prüfdatum"
Foreground="{Bind...
I have a DataGrid that has event handlers bound to SortCommand and PageIndexChanged. How can I determine if those event handlers are about to be called, say on page_load?
These events will fire just fine after page_load, but I'd like to know at page_load if they are to be fired.
...
Hi,
I want to execute some code when a a selected row of the WPF DataGrid is double clicked. I know that the datagrid has a MouseDoubleClicked event and that it also has a row selected event but I don't see any event for "selected row double clicked" ...
Do you think it's possible to capture this event somehow ?
Regards,
Seb
...
Hi, I am trying to get a cell value from the selected item of a silverlight datagrid. In the attached code I can get to the properties of the cell and change its forecolor, but I can not get the value of the cell. Can someone please let me know what I am doing wrong? Many thanks in advance for your help!
private void FindDetails_Sel...
I have a datagrid and it lists several rows as
seqno | NAME | COMPANY
1 | BOB | D&T
2 | Jenny | M&Y
3 | Jane | D&T
It is possible to have buttons as [MOVE UP] and [MOVE DOWN] so that when I select a row in a datagrid and press one of those button that the order changes and the seqno updates accordingly.
Meaning if I s...
Hi,
I have a flex editable datagrid mx:DataGrid and when I press TAB key, it changes to another cell when I am editing a cell.
I don't want it to change to another cell when I press TAB. How can I stop this behavior?
Thanks, Philip
...
How come whenever I override the default template for a DataGridColumnHeader it can no longer be resized by the user even though CanUserResizeColumns is set to true for the datagrid? Is there something that I need to add to the template to restore this functionality?
Here's my template xaml:
<Style x:Key="ColumnHeaderStyle" TargetType=...
I am writing an winform application that has a application menu of Ctrl-E to edit the currently selected row in a DataGrid. At any point the user can also use Ctrl-I to insert a new row.
It appears that Ctrl-E is a custom key in BaseTextBox (as are Ctrl+K, Ctrl+L and Ctrl+R)
http://social.msdn.microsoft.com/Forums/en/csharplanguage/th...
So i Got a tmplist of ObservableCollection in which i got few elements.
I connect it to the ItemsSource of DataGrid in WPF 4.0 and it doesn't show anything. Doesn't add any colums. If I add breakpoint I can see that the "ItemsSource count equals quantity of tmplist elements, but the Columns count equals 0. Why is that? Here is some code...
I'm using a WPF DataGrid with binding in order to display and edit various properties of a class. Many of these properties are IEnumerable<string>. I would like to display these concatenated, with each item of the enumerable separated by a newline character. The value must also be editable - after an edit, the concatenated string should ...
I am trying to bind an ArrayCollection result coming in from the server to my DataGrid
created dynamically in AS.
The result data is not getting Displayed in the Grid.
var dg:DataGrid = new DataGrid();
dg.width=650;
dg.dataProvider=someArrayCollfromServer;
I am adding the dgColumn as runtime based on some data from a XML and it is ...
I have a datagrid with a combobox in it like;
<mx:DataGrid editable="true" x="72" y="10" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAllResult.lastResult}" height="178" width="896">
<mx:columns>
<mx:DataGridColumn headerText="STATUS" dataField="tooltip"/>
...
How can I program the enter key so it works exaclty like the tab key in a silverlight datagrid?
...
How do I add a colgroup tag to the datagrid control so that I can style each column using css?
...
I have a datagridview on a form with multiple columns. Three of the columns are expression columns. One column is subtracted from the second and the result is displayed in the third. Everything works great but when I hit the save button and save to the database, all the columns are saved to the database except the three columns used in t...
i am developing billing software using .net win application. so i need to bind combo box in grid column1, column2.
how can i do that?
...
I have a DataGrid where one of the columns has a labelFunction. When I run the application a scrollbar shows up in the DataGrid indicating to me that it has data but there is nothing in the DataGrid. When I scroll items start showing up. When I Debugged it I noticed that the labelFunction was never being called until I started scrolli...