Hi
I've started working with dataGrid,PagedCollectionView and DataPager for dinamic sorting and paging.
I have noticed that the summary in the group header only refers to the group-items in the current page (the summaries are mostly wrong).
I tried to override the groupheader text via converters, but again, the converter only knows the...
Hi,
I use this arrayCollection to populate a Flex 3 Datagrid. I'd also like to use this arrayCollection to populate a comboBox with the Name node.
In the arrayCollection, I've got the Name listed twice. I've got two rows in the Datagrid.
If I set the ComboBox's labelfield to Name, then the Name will be listed twice in the ComboBox me...
Hi,
Is there a way to make a Flex 3 Datagrid show only the first node of an arrayCollection, instead of showing all of the arrayCollection's data?
myDGArray = [
{Name: "Judy", Talent: 'Pole-Dancing', Score: "40"},
{Name: "Jane", Talent: 'Yodelling', Score: "65"},
{Name: "Jim", Talent: 'Singing', Score: "82"}
...
I am getting an InvalidOperationException('DeferRefresh' is not allowed during an AddNew or EditItem transaction.) from my datagrid when I try to edit the value of a combo box column. The items I am showing all have a reference to one other item in the same list so this is what I am using the combobox for. It is bound to the same collect...
I am using MVVM light with silverlight 4. I am using EventToCommand to get selected rows from the datagrid. However i am not able to do it in reverse way i.e. from some defined value say 2 in view model how can I ask to place selection to row no 2 in the datagrid on view?'
My scenario I am using it for inserting new data in database. Fr...
The DataGrid in the .net compact framework (I'm using v3.5) is a bit limited. I try to display a bool-value with app-defined texts like "on/off" or translations of "true/false". I've created a class DataGridBoolColumn which inherits from DataGridTextBoxColumn and there I override the Paint-method. But I've problems with retrieving the cu...
Before I actually ask the question, I need to explain my current situation.
I have a strongly typed (generated with VS2010) DataSet. Along with that, I have the corresponding typed DataTable and DataRow.
My problem happens when I commit a row using the DataGrid's built-in commands. It calls the BeginEdit(), CancelEdit() (only when I c...
Hi,
I am trying to create a Row Detail in DataGrid in Silverlight 4.I have a DataSource as
Public User parentUser{get;set;}
Public List childUsers{get;set;}
In the First Grid I have to display all the parentUser details and In the detaisl Grid I ahev to display all the childusers associated with the parentUser.
<sdk:Da...
I want to bind a buttons IsEnabled property to a bool value that is retunred by a WCF web service.
Following is the details...
I have a datagrid in one of my xaml file. In this grid i have a button as part of DataGridTemplateColumn. now i want to data bind the isenable of this button to a bool value returned by the web service.
Can't ...
Hi!
I have a DataGrid in Flex3 which I want to sort by means of clicking on the column header and then tweak this order using a manual sort, dragging and dropping items.
I have found out that once you use the column header to sort, there is no way to get rid of this behaviour (unless establishing the data provider's sort property to nu...
I should start out with the disclaimer that I don't have a lot of info into this problem, but I wanted to put a feeler out to see if anyone else had this problem. I started a new job and some folks here are using Infragistics WPF datagrid. The grid was selected because of the visual flexibility, but apparently when there are large amount...
We know already Datagrid defult sorting , when we click on header of dategrid then automatically sorting records well . But how can we sort within inline itemreander linkfield label in datagrid . In project defult sorting properly work in datagrid but linked field column only not sorting ?
Is it any way to sort functionality? if u know...
MVVM pattern is implemented in my Silverlight4 application.
Originally, I worked with ObservableCollection of objects in my ViewModel:
public class SquadViewModel : ViewModelBase<ISquadModel>
{
public SquadViewModel(...) : base(...)
{
SquadPlayers = new ObservableCollection<SquadPlayerViewModel>();
...
...
I have a 3rd party desktop weather application. It has a datagrid with few columns. I need to read all the non-zero enteries of 3rd column. I started exploring AutoHotKey, but hit road blocks. Now, looking into Microsoft Spy++. It is displaying the control names, buttons, text on the main control. But, it is not displaying the contents o...
How do you read a CSV file and display the results in a grid in Visual Basic 2010? This sounds so simple but I still can't find the answer to it after googling for a while. I have DataGridView on a form and it's called DataGridView1. I have a csv with just 3 columsn of data and I want to be able to display them.
...
Morning folks,
I think I've got my head around basic databinding in WPF, but I'm not sure how to go about this problem. I have a datagrid that the user adds items to, and I'm trying to make one column a 'depends on' column, so that when the column is in edit mode it contains a dropdown box of all the names of the items in the datagrid e...
I am trying to Navigate URL
in this way
<asp:HyperLink runat="server" NavigateUrl='javascript:NavigateUrl("<%#Eval("TicketID")%>","<%=RedirectURL %>");'><%# Eval("TicketID") %></asp:HyperLink>
but an error occurred in the javascript Error Console in Mozilla browser.
Error: missing ) after argument list
S...
Hi,
In my wpf data grid i have a hyper link column for item code. If user clicks on any item code i'll show item details in a popup form.
It's working fine in one page but in one page first click only it's working.If i reload the grid it will work for first click. When i debugging i observed that hyper link click event is firing for fi...
I am trying to use a combobox inside a datagrid, but I am running into an issue. Here is the code:
<sdk:DataGrid AutoGenerateColumns="False" Margin="6,71,6,0" Name="dgridDeptNums" Loaded="dgridDeptNums_Loaded" Height="226" VerticalAlignment="Top">
<sdk:DataGrid.Columns>
<sdk:DataGridTemplateColumn Header="S...
Dear Stackoverflowers :)
I'm trying to achive displaying the RowDetailsTemplate of a Silverlight DataGrid depending on a bool Property, bound to a CheckBox Control's IsChecked Property. Insinde of my RowDetailsTemplate there is a single custom UserControl, containing further Controls.
Since the DataGrid only allows a global setting (Ro...