When I change the ItemsSource in the Xceed DataGridControl my vertical and horizontal scroll bars immediately get reset to the top/left.
Any ideas how to prevent that from happening?
Hi,
I have two wpf datagrids having same number columns. I want to resize the same column in second grid when user resize the columns of first grid.
Thanks,
ant.
When the page load, it only displays up to Fault Location, extended description column is no longer visible. Even if I add properties
ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.HorizontalScrollBarVisibility="Auto"
I mean, i have one of this controls and text inside one of it's columns.
Usually if user changes column size, it's just cutting text. If I'm trying to use template with textblock or textbox and set TextWrapping="Wrap" inside of the template - it's really doesn't change anything.
What's the way out?
*And yes, I searched before asking, and found…
It might sound like a trivial question but how can I show progress bars, when datagrids and other components that "talk" to web services, update their data providers
There must be something I am missing, I want to do a very simple thing, for example, I have a class like the following:
public class Person
{
public int ID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime DateOfBirth { get; set; }
public List<string> phoneNumbers…
I'm trying to put row header text based on a converter function of the index of the row.
I found a way to bind to the datagridrow like below, but i can't find how to get the row index of the datagridrow object.
<DataTemplate x:Key="MyRowHeaderTemplate" DataType="DataRowView">
<TextBlock HorizontalAlignment="Center"…
Hi, i would like to replace the following xaml code :
<Custom:DataGridTextColumn Header=" " Width="*"/>in codebehind. This xaml code fills my header to the end with my style..
this is what i want to get
|name | number | this area uses "mystyle" end of grid -|
this is what i now get :
|name | number | …
This is something I thought would be easier than it's turning out to be. For whatever reason, I can't seem to figure out a way to make what I'm trying to do here work with an If statement:
List<int> miscTimes = new List<int>();
for (int i = 0; i < MISCdataGridView1.RowCount; i++)
…
Hello All,
I am working on an .net (C#) web application.
Recently a defect came my way that stated that when two users were logged into the application at the same time they both could not update values without one refreshing the page. When I looked into the issue I discovered that the author of the code has used…
Hello,
I have a datagrid with master detail implementation as follows:
<data:DataGrid x:Name="dgData" Width="600" ItemsSource="{Binding Path=ItemCollection}"
HorizontalScrollBarVisibility="Hidden" CanUserSortColumns="False"…
I have a Flex datagrid with a combo box as an itemRender on one column and the renderIsEditor set to true.. When I disable the datagrid, the combo boxes are still enabled and can receive input and change their values.
How can I disable the combo…
All, I have a WPF DataGrid. This DataGrid shows files ready for compilation and should also show the progress of my compiler as it compiles the files. The format of the DataGrid is
Image|File Path|State…
An interesting question from one of the MVVM Light users today: Is there an MVVM-friendly way to get a DataGrid’s SelectedItems into the ViewModel? The issue there is as old as the DataGrid (that’s not…
I have a DataGrid table with columns name, phone.
In column name I would like to add a picture near the name of the person.
How can I add a picture in a datagrid row?
<fx:Declarations>
…
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…
I have a DataGrid component that displays a few columns of data. It has one additional column that displays a Button that allows the user to take an action with regard to the record.
…
I am using a common Silverlight DataGrid to display results from a search. The "schema" of the search can vary from query to query.
To accommodate this, I am trying to…