grid

How to unit test a grid with paging

A common web UI design is to display a sortable grid (GridView, ListView, DataGrid) with paging. That is, the user can click on any column header to cause the records to be sorted in ascending or descending order on that column's data. And, the user can navigate among the pages of, say, 10 records at a time. There may be millions of da...

Hierarchical table column in Java

Dear All, Is there any Java library that supports hierarchical column? For example (the first three row are columns) : 2008 | January | February | Week1 | Week2 | Week3 | Week 1 | Week2 | Week3 | 10 | 20 | 14 | 12 | 15 | 3 | Thanks ...

Why does tabbing to a DojoX grid result in a JavaScript "Can't move focus to control" error?

Problem I've got a number of Dojo components on a page. When the user tries to tab from an input like component to a grid like component, I get a JavaScript "Can't move focus to control" error. The user base uses IE6. Solution The first element in the DojoX Grid layout cannot be hidden. If it is hidden, you get a a JavaScript "Can't ...

Multi Select combo box in dojo grid

I've implemeneted customised single select combo box as a cell element in dojo grid. Can someone tell me how to implement multi select conbo box? ...

Hosting, deploying and running web applications in the cloud

So far I've read some blog articles about cloud computing and services for hosting applications in the grid. If I'd wanted to have a web application running in the cloud for as little cost as possible, what would be the best solution? Let's assume the following configuration: J2EE web application Any free database (MySQL, PostgreSQ...

How to set WPF's Grid.RowDefinitions via Style

Hi! I'm using a couple of Grids to format multiple GridViewColumn.CellTemplates: <ListView SharedSizeScope="true"> <ListView.View> <GridView> <GridViewColumn> <GridViewColumn.CellTemplate> <DataTemplate> <Grid> <Grid.RowDefinitions> <RowDefinition SharedSizeGroup="...

Snap to grid mouse locking up

I am working on an application which draws a simple dot grid. I would like the mouse to snap between the points on the grid, eventually to draw lines on the grid. I have a method which takes in the current mouse location (X,Y) and calculates the nearest grid coordinate. When I create an event and attempt to move the mouse to the new co...

WPF GridSplitter Doesn't Work With WebBrowser Control?

I've been struggling with the GridSplitter. It seems to be incompatible with the WPF WebBrowser control. If I resize my window and move the GridSplitter, then I can make my grid wider than my window and non-viewable. Before: After: (note scrollbars) My XAML... <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta...

What is the best library for Java to grid/cluster-enable your application?

This is the ability to run your application on a cluster of servers with the intent to distribute the load and also provide additional redundancy. I've seen a presentation for GridGain and I was very impressed with it. Know of any others? ...

gridview control capable of displaying rich text in WinForms

Hi, I'm looking for a WinForms control that would allow me to display data in a table like manner but with some rich content such as different font colors, images. I do not need data-binding etc., just a "table of RichTextBox controls". I suppose it wouldn't be difficult to build such a control myself, but I thought I'd ask first... Th...

Designing Websites In Browser (gasp!)

I'm interested in people's opinions on the pros and cons, or downright "hell no's" on designing websites in the browser, and moving away from Photoshop, Fireworks, etc. I've been designing a relaunch for my website, and trying it out in the browser, and I'm not looking back. For example (I use a 960px grid with 12 columns): <div id=...

What is the best way to display spreadsheet data in Ruby on Rails?

I am looking for a way to edit data and have values dynamically calculated (i.e. totals, averages, etc.) My application is a web based gradebook system for teachers and one of the big challenges is allowing them to enter/update grades. The most natural solution for this type of data is a table or spreadsheet grid and my first thought w...

Multi-line Row grid controls

Does anyone know if there are any multi-line row grid controls for sale or open source for use in .net? ...

Can I make WPF grid controls opaque at design time?

So I'm just starting out with WPF, and I'm really annoyed by the fact that if I lay two Grids on top of one another, the top Grid isn't opaque. It makes designing extremely annoying. Can this be turned off somehow? I'm just building your standard Winforms STYLE application, but in WPF. I'm just trying to start bridging the gap here. In ...

hiding grids using ESC key

Hi, I'm new to WPF. I have like 15 grids on my Window and I have a small menu on which I can click and choose which grid to show up or hide. One grid at a time only. I would like that grid to hode (fade out) when I hit ESC. I have all the animations already, I just need to know what grid is visible (active) at the moment. I don't know h...

Grid does not resize anymore

I put two controls in a grid column and make either the first or the second control visible. Since the width of the grid column is set to auto it will resize itself according to the width of the visible child... unless I change the width of column using a grid splitter. Now the column does not resize itself to its content anymore if I to...

Determining allowable moves on a grid

Can anyone suggest a suitable way of figuring out a pieces allowable moves on a grid similar to the one in the image below. Assuming piece1 is at position a1 and piece2 is at position c3, how can I figure out which grid squares are allowable moves if piece1 can move (say) 3 squares and piece2 can move 2? I've spent way too long devel...

How can I add the gutter along a grid in the 960 css framework?

How can I add the 10 px gutter of a 40px grid(so that it will be 50px) in 960 css framework? ...

.NET - 3rd Party Grid Control - AutoFill

Anybody know of a good 3rd Party grid control that supports AutoFill (like Excel does). Also a good export to Excel and import (paste) from Excel would be handy also. I'm mainly interested in a WinForms grid that can do this, but would also be curious if there is a Silverlight grid or ActiveX grid with AutoFill capabilities. ...

How to Clone a whole grid of Controls?

I have the following code and basically what i am not able to figure out is how to clone the whole grid and make a blank copy of them side by side.... for a clear understanding this is something to do with hospital application and the grid is related to a pregnancy so when said 'ADD CHILD' button a whole new grid should be created during...