Questions tagged [xamdatagrid]

Data grid control from Infragistics. Designed for WPF, can be used to produce reports, tables. Provides editing, sorting, filtering, grouping, and showing hierarchical data relationships

225 questions
3
votes
1 answer

How can we capture notifications of row deletion in xamDataGrid?

We have a Infragistics xamDataGrid with the DataSource bound to a BindingList. We have some custom text set on the group by header and need to reset it every time an item is added or deleted. Is there a when to be notified when an item is deleted in…
Daisuke Shimamoto
  • 5,206
  • 6
  • 32
  • 37
3
votes
3 answers

Infragistics XamDataGrid with variable number of columns

I need to be able to support a XamDataGrid which at design time will not have a set number of columns. For example, the app will run, get some data from the server and create some objects. Depending on the response from the server, I may have a…
Flack
  • 5,727
  • 14
  • 69
  • 104
3
votes
1 answer

setting Column width of XamDataGrid in XAML

I want to set the Column width of XamDataGrid in XAML. There is no Width Property available like Here is my sample code.
Saghar
  • 693
  • 2
  • 12
  • 24
3
votes
1 answer

Infragistics XamDatagrid column resizing left to right

I use XamDataGrid to show table with really long header names. Most important part of the header name is it's suffix. Is there any way that I can configure column headers the way that when the column width is shorter than text size i will see the…
Sergey Kucher
  • 4,140
  • 5
  • 29
  • 47
3
votes
3 answers

How to format a date in a column using converters?

I've got a column in my data grid, which is data bound correctly and working. Now, I'd like to affect its format. So I've implemented a converter and connected it to the field. ...
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
3
votes
2 answers

(WPF) XamDataGrid + Hierarchical + Load on Demand + Dynamic Columns

I am using XamDataGrid and need each row to be hierarchical (with several child nodes that are also hierarchical). It must load its data on demand and have dynamic child columns based on the results that are returned by a server I'm querying.…
Spencer
  • 375
  • 1
  • 5
  • 17
3
votes
1 answer

How to add a command to a xamdatagrid cellactivated event without breaking MVVM

i am using a XamDataGrid to display my data. Now I want to add different commands to each column. Using the CellActivated event on the whole grid and then binding to ActiveCell wont work since the Viewmodel would have to know about the View and how…
mtxviper
  • 101
  • 2
  • 8
3
votes
1 answer

Update ActiveDataItem of XamDataGrid on adding new record

I am using WPF with MVVM architecture, The problem I am facing is when I add a new record to the grid and press enter, the record is not set as the active record. Its only when I click on some other record and then again on the new record that it…
user1521554
  • 117
  • 3
  • 14
2
votes
1 answer

Find DataRecord from DataItem for Infragistics DataPresenter

I'm trying to retrieve the DataRecord associated with a given data item bound to my XamDataGrid. Is there any way to find the DataRecord other than enumerating through all the DataRecords in the collection and comparing the DataRecord.DataItem to…
cordialgerm
  • 8,403
  • 5
  • 31
  • 47
2
votes
1 answer

XAMDataGrid: Dragging rows within grid

I'm using the XamDataGrid v14.2 and want to add the feature of dragging and dropping rows within the datagrid. I've looked thru the Infragistics forum posts, but most of the code samples show dragging and dropping rows from one grid to another. Is…
rds80
  • 631
  • 1
  • 10
  • 23
2
votes
1 answer

XamDataGrid: I have two columns (displaying decimal data): I want one with a "$" sign, and one without. How?

I have two decimal datatype columns; I want them displayed like so: Column 1 (ColumnWithNoDollarSign) will have no "$" sign in front of the values Column 2 (ColumnWithDollarSign) will have a "$" sign in front of the values This is what my XAML…
Rob
  • 25,984
  • 32
  • 109
  • 155
2
votes
0 answers

Xamdatagrid Cell borders are not displayed

I am trying to develop WPF application. I want to have Table inside table structure. So i have used XamDataGrid and in the field, i am using CellValuePresenter to display another table inside that cell. The code for Parent data grid…
sampat nayak
  • 123
  • 2
  • 12
2
votes
1 answer

How can I restore the changed value of an ObservableCollection?

I have an ObservableCollection of a class. class person { string name; string age; } I also have one List. I'm getting data from XML tags populating in the collection as well as list from the XML. listVAR.add (new…
2
votes
1 answer

Get sorted observable collection in mvvm light

I have bound an Observable Collection to a xamDataGrid of infragistics in my MVVM-light VM. In the UI I have my grid and a button and when I click on the button I want to perform an action that updates information. This action takes quite a while…
2
votes
1 answer

Convert CheckBoxField to ToggleButton in Infragistics XamDataGrid

I'm struggling with display CheckBoxField in Infragistics XamDataGrid as togglebutton. Everything seems to work fine, until i press those togglebutton - it is not refreshing corresponding value in viewmodel. On the other hand, when i change the…
Thaven
  • 1,857
  • 3
  • 19
  • 35
1
2
3
14 15