datagrid

Accessing checkbox inside a Datagrid ItemRenderer

Good day StackOverFlow World!!! Having some troubles trying to resolve this. I hope someone can give me guidelines on how I would be able to achieve this. I need to reference a checkbox inside the datagrid. Below please find some codes I have used. <mx:DataGrid id="dgCurrentTasks" width="100%" height="100% "dataProvider={xmllcCurrentTa...

Finding x,y position of a datagrid / adavancedDataGrid row in Flex

I have flex advancedDataGrid (could use dataGrid if that works better, though i like my meta-column headers), and i want to have a component popup on top of a selected row. The problem is, i can figure out how to reference an actual rendered row of a datagrid (rather than an item of the dataprovider) in order to get its position on the ...

How to display an image in Flash datagrid after selecting an image for uploading?

After browsing for the images, and selecting them. How can I display a preview of the image in the datagrid? I am able to display the file name, file size, but was unable to display the image. Below are the codes I have written, please note it is not a complete code but just enough to make it understandable. Thanks. // variables used va...

Flex edit DataGrid cell on click only when previously selected

I need to modify the behaviour of an editable datagrid to this: -Single-click on a row, doesn't make the cell show a text input field (only selects the row) -Double-click on a row, doesn't make the cell show a text input field either but -Clicking a cell in an already selected row, shows a text input field ready to be edited. I beli...

Free alternative to standard C# DataGrid?

The standard DataGrid is quite unresponsive when it comes to displaying large amounts of information. I tried SourceGrid and can live with the results, but see room for improvement. Can anyone think of any other free alternatives to the standard DataGrid that can handle large amounts of data? I am open to creative ideas. ...

DataGridTextColumn event binding

What is the simplest way to bind an ICommand to a DataGridTextColumn that will handle a user double click on that column without code behind? Can I somehow expose an underlying FE and do it all in the XAML? This particular column is read only and here is the xaml for it: <dg:DataGridTextColumn Header="Number" Binding="{Binding Business...

WPF Toolkit DataGrid - rows overlapping (row height problem)

Hi, I have a DataGrid with some template columns that contain another DataGrid. My problem is that if some rows have a lot of content in them their height doesn't adjust so the whole content is visible, but rather it's cut off, giving the impression that the rows overlap. However, as soon as I add a new row to the grid or add a new row ...

How to implement paging function in the datagrid when using data binding (winforms)?

I use data binding to control the datagrid, which connect to database table directly, what I want to do now is to implement the pager function on the datagrid, which I can only load 20 records from Database into memory, and display them. What do I know now is the the data binding will load all the records into database and then do some f...

Flex Datagrid: Creating a timetable

Hi guys, I have some data passed into the flex via webservices, and want to create a timetable. As of current, I have a timetable but the day is a column, time is a column and so on, by mapping the datafield to those columns. I need to flip this around and have all day columns and one time column, with each day column filter to the day...

Displaying GridView When No Data Exists...

I am using a sqldatasource for filling one GridView and on page loading or before taking any action, there is no data (default value=null) and normally the datagrid is empty (using emptydatatext="no records found etc etc...").. Issue is I can not see the header of that grid in empty case, but only the emptydatatext! I have tried to use...

WPF datagrid question

Hi, Very simple question ... Can I use the WPF datagrid control in the same way I use a regular grid ? How can I do the following but using a WPF datagrid instead of using the standard Grid ? <Grid Width="542" Margin="0,12,0,0" HorizontalAlignment="Left"> <Grid.ColumnDefinitions> <ColumnDefinition Width="182" ...

WPF datagrid binding

Hi, I have the following domain: public class FileInformation { public String FileName; public String CreatedBy; // name of user who created the file public String CreatedComments; public String CreatedDate; public String EditedBy; // name of user who last edited the file public String EditedComments; public String EditedDate...

How do I access the dataGridColumn from it's itemRenderer?

I am using a custom componenet based off of text as an itemRenderer for a dataGrid that is displaying an XMLList. I want to be able to re-use this itemRenderer for multiple columns, how do I access the dataGridColumn so I know which field to assign to the text value? super.data gives me the whole XML item, super.parentDocument gives me ...

WPF Datagrid time field format hh:mm

I use a WPF Toolkit Datagrid with a LINQ to SQL <my:DataGrid AutoGenerateColumns="False" Name="dataGrid2"> <my:DataGrid.Columns> <my:DataGridTextColumn Header="Date" MinWidth="80" Binding="{Binding Date, StringFormat=d}" CanUserSort=...

Problem with bound combobox: text disapearing after sorting the source list of strings.

Hi, Ive got an ObservableCollection<string> list, which is bound to a combobox. This combobox is in a datatemplate which is inside a 'DataGridTemplateColumn'. When the datagrid is displayed (with all the rows), the column displaying this combobox works just fine. The user can select the items in the combobox, and when it's selected, t...

Wpf Popup Window Alternatives with a DataGrid

I have a presentatation based around a DataGrid, one of the features being access to a picklist of options for adding new line items (projects) to the grid. The picklist dialog shows 2 columns of data and provides search / filter options to find the right project out of 150 or so choices - too much to use a grid combo box! I was thinkin...

itemrendrer checkbox in datagrid

How can i make the checkBox click as disable in itemRendrer in a datagrid? ...

Post MouseUp alteration of datagrid!

Hi guys, I have .NET CF app, with a form that contains a datagrid which I've bound to a BindingList using a solution derived mainly from this article: http://msdn.microsoft.com/en-us/library/aa480736.aspx I've hooked it up so that when a column header is clicked, I get the HitTest information and check for the Type. If the Type is Colu...

WPF DataGrid Printing Scrolled Visuals

I've been using the DataGrid (from WPF Toolkit), and have successfully created all of my data. The next step is that I want to print the entire DataGrid (scaled to a single printed page), even though the visible DataGrid in my Window is currently scrolled. When I prepare the DataGrid for printing, I've tried setting the DesiredSize to ...

Force all item renderers to commitProperties ?

I have an item renderer that checks an external source for display information. If that information changes, I want to force all item renderer instances to check it. What's the best way for force all the item renderers in a list or grid to either commitProperties or execute some other method? I've read that resetting the grid.itemRend...