I have this code :
var dp:Array = new Array();
for ( var i:int = 0; i < e.result.length; i++ )
{
var row:Object = e.result[i];
dp.push( row );
}
The row object consists data for different columns of a datagrid. dp.push(row) pushes the data onto the datagrid.
Columns with index 3 and 4 have type of "DATE" with whole...
I have a column with 4 fields named : a> Main, b> Forward c> Back d> Link, if I use pre-defined sorting of datagrid with the column names which will be alphabetically, then the order is c>Back b>Forward d> Link a> Main. But, I do not want to sort based on the alphabets. I prefer to sort by names of the column fields. i.e. somehow give pr...
I am using a DataGrid in Expression Blend but I just need to show only the registries and hide the ColumnHeader.
How do I do that?
...
Hi, I am trying to implement the following :
1> First column of datagrid has a checkbox.
2> Select checkboxes, and then delete the datagrid column.
3> Dynamically, add checkbox when row is added dynamically.
4> Do not show check box if now data in row.
Can someone give some guidance ?
...
I mean - one source for all the data and another one - for rowheaders (of course, with different style).
I know, that one can do the same thing for columnheaders, because each datagrid.column have it's own .header property, where I can put any control with it's own DataContext, for example. But what for rows?
Of course, I can add one ext...
I'm using a DataGrid in Silverlight in ReadOnly mode. However, the DataGrid still allows selecting individual cells (changes background color and adds a thin blue border). I believe, the DataGrid is still turning the cell into a TextBox, but making it read-only.
I don't want the user to be able to select a single-cell, only a row. Is...
Hi,
I have a datagrid. I add a row to the datagrid using an ADD button. Once I add, I sort the datagrid based on a column. I also provide the serial numbers i.e. row numbers as first column to the datagrid. But, the serial number function does not apply after sorting. Hence, a new row added for e.g. row 5, based on sorting should be row...
I mean, I have read features lists of all popular solutions. And they all have export to Excel and ctrl+c to Excel. But what about opposite process?
In my case all the data comes from different sources, mostly in xls and user need to have an easy way for it's input.
...
I have to put 2 numeric stepper components in one column of a datagrid. I suppose I need to write my own item renederer code for that. How to write a code for putting 2 numeric stepper components in one coulmn of datagrid.
The 2 numeric steppers would work as time (Hour and Min) components. I cannot use readily availabel time components...
Hi all. Just wondering if anyone knows about what performance is like for the WPF Toolkit DataGrid for inserting rows to the top of the visible area. I know that ListBox and ListView will recreate all new visuals for all of the rows that are pushed down, which is a major impact on performance; I was wondering if the WPF Toolkit DataGri...
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.
<mx:DataGrid dataProvider="{myData}">
<mx:columns>
<mx:DataGridColumn dataField="firstName" headerText="First Name"
width="75" />...
NB this was for the silverlight 3 beta, RTM seems to handle grouping entirely differently.
I've a grid that is working fine, which I'm using the GroupDescriptions property like so:
<data:DataGrid.GroupDescriptions>
<cm:PropertyGroupDescription PropertyName="ClientName" />
</data:DataGrid.GroupDescriptions>
This works brilliantly...
How to give a combined header name for 2 columns in a datagrid in ASP.NET 2.0 with 2 column sub heading values.
...
I am using a datagrid. It has itemEditor components, combo boxes, etc. as aprt of columns.
Ideally datagrid.invalidateList() method works to reload the datagrid with new dataProvider data.
But, for me it is appending to the old data and new data gets added below the older data. I am not able to fix this reload of datagrid.
...
Main Goal : Select a school listed in the first datagrid, and display all the student records /details of that school in the next datagrid. But, since datagrid is editable and requirement mentions : "Use a Wrapper class around the object to get the data, set the same and save. Ensure wrapper is bindable to take into consideration the upd...
I have the follwoing. :
mx:DataGridColumn width="125" headerText="Time" editable="false"
mx:itemRenderer
mx:Component
mx:HBox
mx:NumericStepper id ="TimeHour" stepSize="1" minimum="0" value="0" maximum="23"/
mx:NumericStepper id ="TimeMinute" stepSize="5" minimum="0" value="0" max...
I have a Silverlight app with a DataGrid containing some custom columns and all was working well. Then I updated to Silverlight 3 tools for VS 2008 SP1 and rebuilt it. Now it has the following problems:
Rows aren't added when the collection is modified. The ItemsSource property is (and always has been) set to an ObservableCollection in...
I have a background thread updating an array. At timed intervals I call myDataGrid.Items.Refresh(). However nothing changes on the screen. But when I for instance click on the column heading of the data grid on the screen the information is actualized immediately.
I like to see the changes on the screen at timed intervals, for instanc...
In the followin flex Code :
Also viewable at : http://www.cse.epicenterlabs.com/checkBoxDg/checkBoxDg.html
1. Add a row in datagrid by clicking on "AddRow"
2. Click on "CheckDg" to see the values of all the checkboxes
- it shows "checkBox57" or "checkBox64" or some similar string
3. Now, "select" the checkBox in the first row.
4. ...
I'm working on a plug-in for a 3D modeling program to assist in architectural design. I have a Building class which needs to contain a collection of Floors.
My Floor class has properties such as Elevation, Height, ProgramType (residential, retail, etc), and ID. Each building has a FloorList property which is the collection of all the ...