disable auto-save in editable datagrid Flex
I have an editable datagrid, whenever I make a change it automatically gets saved. How can I disable this? So the changes gets saved only when I click on an external save button. ...
I have an editable datagrid, whenever I make a change it automatically gets saved. How can I disable this? So the changes gets saved only when I click on an external save button. ...
Hi, I am searching about how to create the columns of the DataGrid from the ToolKit dynamic in MvvM way. But looks like it is impossible ! Is there some one that had to do the samething ? there is no need to create a usercontrol or another control that comes from DataGrid, I just want to set de ItemSource of the grid to my custom obje...
How can I have one tile for two columns in a Flex datagrid, like the example "Identification" ...
I don't have the column names at compile time. I would be available in an array of strings at runtime. I need to read this array and create columns for wpf datagrid. I have MVVM pattern setup and my View has the DataContext setup to ViewModel. I am able to use ObservableCollection and make it work, but I have to fix the column number/na...
Is there anyway to create a custom item editor based on the dataField value? For example: <mx:DataGrid editable="true" dataProvider="{_actionArr}" id="prop"> <mx:column> <mx:DataGridColumn headerText="Component" editable="false" dataField="label"/> <mx:DataGridColumn headerText="Value" editable="true" itemEditor="{data.ie}"...
Hello, I have a DataGrid with ItemsSource set to a list of products and I have a DataGridComboBoxColumn inside the DataGrid with ItemsSource set to a list of categories. That way I want the user to choose a certain category for each product. I always get the binding error: BindingExpression path error: 'Categories' property not found...
hi, I have a wpf datagrid that is bound to one dataset and has two combobox columns that take their values form the main dataset and has options from two different databases, in every other cell (which are regular textbox cells) once editing is finished the database is updated through an dataset.DataTable.RowChanged event, the problem is...
All, I am coming from a primarily ASP.NET background, but have experience with Windows forms as well. I am trying to learn how to layout my WPF app. I have the following code: <Grid> <Grid.RowDefinitions> <RowDefinition Height="40" /> <RowDefinition Height="*" /> <RowDefinition Height="40" /> </Grid.R...
I am trying to work out a way to achieve the following cell selection constraints: Only allow multiple cells from the same row to be selected Only allow contiguous cells to be selected Do not allows cells in column 1 to be selected So far I have looked at SelectedCellsChanged event but that does not seem to want to let me change the ...
Hi, I better explan what i mean: I have a Data Grid with automacticly genorated columns, i now need to add data items into a spesific row / column of this grid e.g. col 2 row 3. It dosnt have a data provider at the moment as i wish to be very selective about which data goes where. Which is the best way to do this? Thanks Jon ...
I have a simple form with datagrid and a button. Items in the datagrid are bound to ObservableCollection of customers. The customer implements INotifyPropertyChanged interface. Each customer has a deleted property (type bool). I set a filter for the customers default view to filter out deleted customers based on the deleted property. So ...
I bet this stuff can`t be done without much code-behind :P Can it? ...
I am looking for an open source spreadsheet application to stick into my web page. The most important feature I am searching for is formulas. Specifically, I need to be able to put in a cell which calculates the total of the contents of other specified cells. I've found some basic examples like Nitobi and ExtJs Extender, but they don't ...
I am using a dojox.grid.DataGrid with a dojox.data.QueryReadStore. As the user scrolls the grid, the grid lazy loads rows from the store and keeps them in memory. Using Firefox on Linux or IE 7 or 8 on Windows, it appears that these rows are never cleared, and the footprint of the browser window will continue to grow (as observed in to...
Hi, I have datagrid from where i need records to export to excel. I have follow the code from http://www.c-sharpcorner.com/uploadfile/dipalchoksi/exportaspnetdatagridtoexcel11222005041447am/exportaspnetdatagridtoexcel.aspx This works perfect but with only one issue. When i export into excel, i see the paging (...10,9,8,7,6,5,4,3,2,1)...
I have a nested datagrid. I want to get header texts of child datagrid, bifore binding process. Is there a way to do this? ...
I'm using the MVVM-Light EventToCommand to try and implement a pre-fetching mechanism from my ViewModel, using the sample code for EventToCommand that's posted on the MVVM Light codeplex site. Unfortunately the command doesn't seem to fire, even though the MouseMove event which I used as my model does fire fine. Am I missing somethin...
This is annoying...When running my SL3 app with a datagrid after having selected a row in the grid, if I alt-tab to a different application and then alt-tab back - the SelectionChanged event fires! No click or touch was done to the SL app. What I'm trying to do is allow the user to click on a row to mark it Read/Unread but I guess I'm g...
Question I have a DataGrid and would like to populate it with some test data, so I can see it in the designer while working on it. How do I do that? What I already have I've created two classes: ProductList using System.Collections.ObjectModel; namespace Wpf.DataGrid { class ProductList { private ObservableCollectio...
I have the following validation method in my viewmodel (example is showing only one column, "ItemNumber"): public bool IsValid { get { foreach (string property in ValidatedProperties) if (GetValidationError(property) != null) return false; return true; } } static readonly string[] ValidatedProperties = { ...