I did an application to show a datagrid with a custom column in Flex 3
how can I access to the method loadDetails in this code?:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
public function loadDetails(id:String) : void { // Some code here
}
...
I have a dojo grid on which I want to perform some action when the "ENTER" key is pressed. However, I only want to add to what DOJO already does when a key is pressed. When I try to use a handler it replaces the onKeyDown function in dojox.grid._Events instead of adding to it. Is there any way I can make sure that the _Events function...
I would like to enable text wrapping on all column headers of my DataGrid, without disabling the other default header functionality, such as column resizing, sort direction indicator, etc. Is there a way to do this?
...
In my flex app I store the widths and visiblility of columns in an xml file. When the app loads it reads from the xml file and sets he columns values as applicable:
for(i = 0; i < columnsOrder.length; i++){
newOrder[i] = myDG.columns[Number(columnsOrder[i]) - 1];
newOrder[i].visible = (Number(columnsVisiblity[i]) == 1);
newO...
E.g.
I have following datagrid
<mx:DataGrid x="331" y="16" height="132" width="419" id="me_claimed" dataProvider="{users.myclaims}"
useRollOver="false">
<mx:columns>
<mx:DataGridColumn headerText="Claimer" dataField="opponent"/>
<mx:DataGridColumn headerText="Rank" dataField="rank"/>
<mx:DataGridColumn headerText="Dismiss ...
Hi, I've been trying to figure a way of grouping items in DataGrid in code-behind.
My DataGrid is filled in code-behind from a List collection of custom Objects, what i wanted is to split this Objects in Groups. Thanks
...
Hello! How can you iterate in the rows and columns of a WPF DataGrid like with a Forms DataGridView in C#?
For example, if you have Forms DataGridView you can do something like this:
for(int i = 0; i < formsDataGrid1.Rows.Count; i++)
{
MessageBox.Show(formsDataGrid1.Rows[i].ToString());
for(int j = 0; j < formsDataGrid1.Columns.Cou...
How do you get the content of a single cell of a WPF toolkit DataGrid in C#?
By content I mean some plain text that could be in there.
...
I am using C# in Visual Studio 2008 and I have install the WPF Toolkit. I created a DataGrid in testtest.xaml. The ID and Parts $ columns have the ability to sort the DataGrid by clicking on their respecteive column headers. However, the column header Complete Date does not have that ability. I used the tag "DataGridTemplateColumn" t...
I am using DataGrid from the WPF Toolkit and I need to be able to maintain focus on the bottom of the grid (i.e. the last row). The problem I'm having right now is that as rows are added the scrollbar for the DataGrid doesn't scroll along with the new rows being added. What's the best way to accomplish this?
...
Im using the wpf datagrid and am looking for a way to set the height on all of the rows when the user adjusts one of them. I know the datagrid has a RowHeight property that sets all of the row heights at once, but the how of catching an individual row height changed escapes me
...
By modifying the RowStyle of a DataGrid I have created a customized grid that will display some buttons at the end of the row when the mouse hovers above the row:
I created a new style for DataGridRow based on the default style. I then modified the XAML to add my buttons inside a StackPanel (details omitted):
<UserControl.Resources>
...
Hey there,
I am working with the the WPF Toolkit DataGrid and currently have a problem with committing data back to the source.
My grid is bound to a CLR object list and I have a converter with both the convert and convert back methods implemented.
The two way binding works fine if the user hits Enter in the cells but if they deselect...
I'm pulling xml data to determine which columns are visible, and the widths of each column. My datagrid's width can change sinces its on one side of a HDividedBox. The visibility part works, but setting the width is causing headaches. Heres the code:
for(loop through column data retrieve from XML)
{
newData[i] = dg.columns[Number(c...
I'm building a small vb app using the latest version of the .net compact framework. The datagrid control is a bit more limited than I'm used to.
I'm seeing lots of examples where I can bind the grid's datasource to a dataset/datatable. Is it possible to bind to a generic list? If so, how?
...
We use Excel for a number of ad-hoc pivots / reports.
To get the data into Excel we have a general page with a simple DataGrid that we bind from a DataSet / DataTable. We "Import External Data" using this URL in Excel.
Unfortunately we have a query that returns around 100 columns and 40k rows. The Application server only has 2GB of RAM...
Hi
I would like tranpose datagrid .
I search on google but most of them are not realted to silverlight.
What I would like to do is this
Original Datagrid
dbname dbsize version
a1 234 3.4
a2 456 2.3
TO THIS
computername[another column will add later] computername[another column]
dbname ...
i am tring to load multiple tables on a flex page and cant seem to figure out how to use multiple remote objects.
Below is my coldfusion
<cfcomponent output="false">
<cffunction name="getVacancies" access="remote" returntype="query">
<cfset var = qRead ="" />
<cfquery datasource="sqlexpress" name="qRead">
SELECT Status, S...
Hi,
I have a flex data grid. It contains two column Maths Mark and English Mark. If Math Mark >English Mark for any row then it will set that particular row color as Green.Can you pls suggest me how to do that?
...
How do I databind a WPF Toolkit DataGrid column header value in code (not XAML)?
DataGridColumn fooColumn = new DataGridTextColumn
{
Header = "Foo",
Binding = new Binding {Path = new PropertyPath("BindingPath"),
Mode = BindingMode.OneWay}
};
This databinds the content of the cells of the column. But ho...