datagrid

Flex + DataGrid + Dynamic Display on Selection

Back again with another Flex question. I have an XML structure like... <Student> <Name>X</Name> <Age>14</Age> </Student> <Student> <Name>Y</Name> <Age>16</Age> <Address> <HNumber>1</HNumber> <HName>Something</HName> <HPin>33607</HPin> </Address> </Student> Now I got his displaying on my grid by saying dataProv...

NETCF DataGrid scroll row into view?

Quick question regarding the Compact Framework DataGrid. How can I scroll a particular row into view? We have an application that displays scans in a datagrid. If the user scans a new item I add it to the grid, but if they scan an existing item, I'd like to scroll that item into view. Is there any way to do this? I tried using the foll...

Is there a quicker way to process a sequence of element than using a loop?

Here I am storing the elements of a datagrid in a string builder using a for loop, but it takes too much time when there is a large number of rows. Is there another way to copy the data in to a string builder in less time? for (int a = 0; a < grdMass.RowCount; a++) { if (a == 0) { _MSISDN.Appe...

Filter columns in flex datagrid using CheckBox

Hi, I have a flex datagrid with 4 columns.I have a comboBox with 4 checkboxes,containing the column names of datagrid as its label.I want the datagrid to display only those columns which are selected in combobox.Can anyone tell me how this filtering of columns in datagrid can be done? Thanks in advance. ...

Setting the background color on a Silverlight grid and still being able to edit it

The first column below works perfectly except I can't set the background color. The second column has the background color working most of the way except when using the arrow keys to move around in the grid, the cell isn't visually changing. What is the easiest way to just change the gosh darn background color on a text column? Extra poi...

Include ComboBox in flex datagrid header

Hi, I want the comboBox to be placed in one of the columns of the datagrid header.The datagrid should be filtered according to the value selected in the comboBox. Can anyone help me out in this with a sample code. Thanks in advance. ...

Displaying error tooltips in Flex DataGrid's each row

Hello! I have a simple DataGrid in Flex 3: <mx:DataGrid width="{indexW - 20}" height="100%" headerHeight="0" resizableColumns="false" dataProvider="{itemsList}" itemClick="itemKlik(event)" dataTipFunction="displayTooltip"> <mx:columns> <mx:DataGridColumn id="col1" dataField="title" showDataTips="true"/> <m...

autoscroll the datagrid data

I am trying to display data in datagrid in an autoscrolling way. mean suppose if default rowsize is showing first 10 records then scrollbar should be scroll automatically to show the next 10 records and so on. Any help is appreciated. ...

Flex:programmatically selecting some row - selectedItem is null

Hey guys In my application, I have a datagrid that is bound to RemoteObject. The datagrid has a corresponding form that contains the details. When the user clicks on a row in the datagrid the form populates with the values from the DataGrid's selectedItem. I want to programatically select some row in my DataGrid when the applica...

problem in datagrid mouseover and mouseout events.. in asp.net

Hi all, I have filled the asp.net datagrid in codebehind file. while binding i have used the datagrid onItemDataBound event to add onmouseover and onmouseout event that looks lik this.. protected void dataGridSavedQueris_OnItemDataBound(Object sender, DataGridItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || ...

flex datagrid autoscrolling

I am showing the web service data into flex application using datgrid. I need to show this data scrolling automatically in continuous manner. Anyone knows how to do this stuff? ...

How to highlight cells in datagrid?

How can I toggle cell's background color by clicking on this cell? (Adobe Flash Builder beta 2) ...

WPF Datagrid doesn't show resultset

I have a list which contains the data that is shown in my WPF Datagrid. I have the following code which searches the grid for a match with a textbox entered string. the code is in a button click handler. var search = from s in dglist // dglist is my List<APerson> where s.FirstName == textBox1.Text ...

Windows Mobile - extra row space visible at the end of a DataGrid

Hi I have a datagrid in a form in my Windows Mobile application. The datasource is set at run time. While my datasource has 10 records and they are shown properly, if I scroll to the end of the DataGrid, there is a white space towards the end. The size of the white space is the same as the height of a single row. This is annoying. Any ...

Hierarchy Datagrid Display in Wpf

hi am new to wpf can any body help me how to display hierarchy /grouping in wpf datagrid using backend as sqlserver 2005 ,language c#. thanks in advance.... ...

Silverlight 4 datagrid not re-sorting

I'm new to both Silverlight and RIA. I have a simple form with a DataGrid bound to a DomainDataSource object. The rows displayed represent section headings to be displayed on a webpage. One of the columns is called OrdinalPosition and I have specified that the grid is to sort by this column. I have a custom column with up and down ar...

WPF Datagrid set selected row

How do I use the datagrid.SelectedItem to select a row programmatically? Do I first have to create a IEnumerable of DatagridRow objects and pass the matching row to this SelectedItem property or how do I do it? EDIT: I need to match the cell content of the first columns cell with a textbox.text first, before selecting the row. ...

Flex Changing DataGrid Highlight Color

Hello How can i change the color, when the user mouse over an item on datagrid or tilelist. Basically once the user mouse overs and once the user selects a file. How to change the default color to something else. The default is blue and i dont like it :) Thanks. ...

Drill Down in flex DataGrid

Hi, I want the flex dataGrid to implement a drilldown effect.The data to the datagrid is obtained from a xml file.Can anyone help me out in this. TIA ...

How do I dynamically generate columns in a WPF DataGrid?

I am attempting to display the results of a query in a WPF datagrid. The ItemsSource type I am binding to is IEnumerable<dynamic>. As the fields returned are not determined until runtime I don't know the type of the data until the query is evaluated. Each "row" is returned as an ExpandoObject with dynamic properties representing the fiel...