Hi there,
I have a web page displaying data using dojo datagrid. Sometimes, users need to copy contents from certain cells for further analysis, but since browser's right click event is disabled in dataGrid, what's the best way to copy the contents to the clipboard?
Thanks in advance!
David
...
Hello,
I am wondering if it was possible to change the styling of a column in a wpf datagrid depending on the type of item in the ItemsSource collection.
I have a wpf datagrid from the wpf toolkit. The single rows in the grid should be styled depending of the type of item from the ItemsSource collection. So all items are of the same ...
I did some work that used Flex datagrids previously. It was smooth for the users and developers alike.
In my current project, I have to implement the same grids but not using Flex / Flash.
I have taken a look at extJS and YUI but they don't seem to measure up.
Are there other packages I should be looking at ?
...
Is there any Tree-Grid component that is freely available for a C# project?
...
I have a fixed width datagrid being built programatically, and am trying to put a header over top of it that will scroll with it. I can't do it as part of the grid as that destroys the fixed width of the cells.
I would like to be able to scroll the top div as the scrollbar for the DataGrid scrolls. This seems how the header works alre...
When using a DataGrid in ASP.Net is there really no shortcut method for
(e.Item.ItemType==ListItemType.Item || e.Item.ItemType==ListItemType.AlternatingItem)
Basically, "item is an item not a header, footer, separator".
I haven't been able to find one, but I figured I'd put it up to StackOverflow to see if I'm missing one.
...
Hi:
I'm trying to retrieve data from a file system datagrid to a repeter, let's say something like this:
<.mx:FileSystemDataGrid id="FSD" directory="{The_directory}"/>
<.mx:Repeater id="Repet" dataProvider="{The data from FSD}">
<.mx:Object ...>
<./mx:Repeater>
So, the repeater must act like a... file system repeter? xD haha....
I am using the folowing function to export the information from my DataGrid to Excel. But when it asks me if I want to Save or Export, it takes too long. Anybody knows why/anybody got similar experiences?
void ExportToExcel3()
{
Response.Clear();
Response.AddHeader("content-disposition", "attachment;filename=FileName.xls");
...
Below is part of my code interacting with data grid...!
This lists the children of the particular node if i click on it after refreshing the datagrid..
But if i click on an empty space of the datagrid i get an error saying
"ReferenceError: Error #1069: Property data not found on mx.controls.listClasses.ListBaseContentHolder and ther...
I have seen many examples of creating a WPF Toolkit DataGrid in XAML and it is possible to write certain tags and there will be some columns, rows, etc depending on what you wrote.
Lets say I have an empty (it has no columns, no rows, nothing) WPF Toolkit DataGrid that has been created in XAML how do I add columns in C# programmatically...
This seems like a no-brainer but i just can't see how to do it.
The default background color of a selected row in DataGrid is so dark that I can't read it. Is there anyway of overriding it?
Tried this (modified from Neverminds link)
<dg:DataGrid.RowStyle>
<Style TargetType="{x:Type dg:DataGridRow}">
...
I have a custom class that inherits from BindingList(T) that I am binding to a DataGrid.
However, the DataGrid is being populated from the top down and I want it populated from the bottom up. So the bottom item is index 0 rather then the top item.
How can I change my BindingList(T) so that the DataGrid reads it in reverse?
...
I have a datagrid in WPF that I am binding to an object.
I have a DataGridCheckBoxColumn on there which I want the users to be able to go through and tick the ones they want. Problem is they have to click twice, once for selection then again to check/uncheck. How on earth do you turn this off, I've been searching for way to long to fin...
I've got a large set of data in Excel 2007, but the rows should have been columns, and vice-versa. Is there a simply way to "pivot" this spreadsheet, rearranging all cells so that the rows become the columns?
...
I would like to extend the ASP.NET DataGrid web control to add lots of additional features but most important of all, I would like to make the body of the grid scrollable.
I have the HTML worked out but overriding the rendering of the control is confusing. The basic structure of final control should look like so:
<div id="grid1" class=...
In WPF, I can group, but the default is group with ascending. One of my need to to be able to control the sorting of the group (Ascending or descending). For example:
group 1
item 1.1
item 1.2
item 1.3
group 2
item 2.1
item 2.2
and also be able to switch to:
group 2
item 2.1
item 2.2
group 1
item 1.1
item 1.2
item...
For a flex datagrid :
How do I have different fonts for a column header
and the text in the corresponding cells?
...
Take note of the code for this small WPF C# program made with Microsoft Visual Studio 2008:
.xaml
<Window x:Class="WpfDatagridTest.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:WpfToolkit="http://schemas.microsoft.com/wpf/2008/toolkit"...
I would like to display data in a way where the entire set of columns is replicated to the right when there are more items to display than would fit into the height of the grid. This would be instead of scrolling down, space to the right is used to display additional rows.
For example: The table below has 3 columns but wraps at item #6...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace Khajohnsubdee.Web.DatagridByQuery
{
public class DatagridByQuery
{
public string strConnect
{
set;
get;
...