Hi All,
I have a standalone html page that contains a dojo DataGrid that works just fine. I am including the relevant code below.
<script type="text/javascript">
var readStore, grid;
var gridLayout = [
new dojox.grid.cells.RowIndex({ name: "Row #", width: 5, styles: "text-align: left;" }),
{
name: "N...
Hi,
i have a scenario where i have to group the PinCode by city name like one city can have many pincode.
I have to do this in winform in datagrid. How can i do this so in datagrid i can see the + and - on before city.
I thing it can be done by nested grid. please, help.
Column A | Column B | Column C
Country
Zip Co...
Hello All
i have a problem i have a wpf data grid Which have a textbox Column and one item templatecolumn (Radio button) i want this radio button on My Codebehind i m unable to find item data bound event in Wpf is their any similar event have in Wpf
thanks in advance
shashank
...
Hello,
a customer asked me for a web app, written in ASPNET, that can use an editable grid (that works with a SqlServer DB) in the similar manner as Excel works; i can use gridView with Edit link in every row but i wanted to know if there are better solutions (possibly free..) that i can use.
Thanks in advance !
c.
...
In a new Flash CS5 Adobe Air 2 file, I add a DataGrid with the name datagrid and put in this code:
datagrid.columns = ["foo", "bar"]
datagrid.addItem( {foo:"the", bar:"text"} );
datagrid.editable = true;
If I click a cell, open another program such as notepad, then minimize that program so that the Air 2 app has the focus, I get this ...
My HTML and code:
function ScrollableTable (tableEl, tableHeight, tableWidth) {
tableHeight = tableHeight * screen.width * 0.01;
this.initIEengine = function () {
this.containerEl.style.overflowY = 'auto';
if (this.tableEl.parentElement.clientHeight -
this.tableEl.offsetHeight = (this.newHeight - (headHeight + footHe...
I have a wpf datagrid with 2 columns (ProductID and Description). ProductID column is a combobox and the Description is a Textbox. On the SelectionChanged event of the ProductID, I want to assign a value to the Description column. I need to know how to assign the value to the Description textbox for the row of the combobox that fired ...
Hi,
i have a dojox.grid.datagrid connected to an dojox.data.jsonreststore. everything works fine, but i cant get the delete-button to work:
i have a formatter-function:
function getDelete(item) {
var url = "if (confirm('Sind Sie sicher, das der Eintrag gelöscht werden soll? Diese Aktion kann nicht Rückgängig gemacht werden!')) { s...
I need to apply grouping to rows in a DataGrid that is nested in a TabControl. Both the DataGrid and the TabControl are databound. The outermost control is bound to a ViewModel that exposes a collection of pages that is bound to the TabControl. Each page exposes a collection of lines that is bound to the Grid.
I am tried to follow patt...
For example, say I am maintaining an inventory of the different produce my friends have and want the following table:
| People | Fruit | Vegetables |
| | Apple | Orange | Berry | Carrot | Lettuce |
| Adam | x | | x | x | |
| Bob | x | x | | | ...
how to add a text box inside the silverlight data grid column header?
so that i can use the text boxes for the filteration purpose?
...
Hey,
A combo box as an item renderer for a data cell in a Flex Datagrid has been demostrated at various blogs. What if that combo box has to have an external dataprovider that has to be set at the time of converting the renderer class to a ClassFactory.
Can this be done? Or is there a workaround?
Thanks in advance.
...
I have a Silverlight Business Aplication (RIA Services) and I have a DataGrid attached to a DataSource's DataContext. In a Silverlight child Windows I create a new Entity and submit the changes to the server.
The problem is that my DataContext does not know that so the grid does not show the newly added entity.
How do I refresh the Dat...
How do I determine the selected row in a WPF datagrid using C#
...
In silverlight project that uses datagrid, I am using some column that defines "Label number" which is a Varchar.
I want to sort this column as described in natural sort order as described in
"http://www.interact-sw.co.uk/iangblog/2007/12/13/natural-sorting" or any possible way.
When I look around datagrid I saw SortMemberPath="strin...
My code is as follows ::::
void mainDataContextObj_CutSelectedColumnEvent(string columnId)
{
IList<DataGridColumn> columns = dg.Columns;
for(int i=2; i<dg.Columns.Count; i++)
{
DataGridColumnHeader headerObj = dg.Columns[i].Header as DataGridColumnHeader;
//This always returns hea...
Everything works fine, even adding new items, but if there are no previous items (i.e. the new editing row is the first row in the collection) then the the new row is deleted right after its creation (when creating a new row after passing the The DataGrid.InitializingNewItem event handler, the ObservableCollection.CollectionChanged is tr...
i have list of entities and i need to bind it to a datagrid...one of the properties in the list is a collection and i need to bind that to an combo box within a datagrid..i am new to windows forms...
var list = (from p in db.persons
select new person{p.firstname,p.lastname,p.phonenumbers}).tolist()
i need phone numbers b...
i want to use context menu in data gird
when i right click on row it is showing the menu
when i right click on next row it is not showing i need to left click and again right click
...
I have defined a datagrid like this ::
<cc:PEDataGrid AutoGenerateColumns="False"
ItemsSource="{Binding Rows}"
Width="Auto"
PreviewMouseRightButtonDown="PEGrid_PreviewMouseRightButtonDown"
Loaded="CommonPEGrid_Loaded">
<wpfkit:DataGrid.Contex...