grid

WPF: Grid like uniformgrid with variable row/col sizes: Does it exist?

Hi, I'm looking for a grid control that works like UniformGrid, except that it should have dynamically sized cell sizes (as you probably know, uniformgrid keeps all row heights equal and all column widths equal). Does this exist at all? UniformGrid works fine for some purposes (when controls are roughly the same size, so it won't look l...

{R grid}: how to create a polygon half filled with color ?

(This question might be too difficult, and maybe not worth the hassle to solve - however, if there is an easy solution - I would be curious to know) Let's say I create an image (using the grid package) which looks like this: require(grid) grid.newpage() grid.polygon(x=c((0:4)/10, rep(.5, 5), (10:6)/10, rep(.5, 5)), y=c(rep...

Fixed grid header into a usercontrol

Hi, I'm face to a problem really hard to solve and I found nothing in internet. I have a control used in parts of the application that is a customized grid. My problem is that in a part of the application. They put a scrollViwer to make it scrollable and they asked me to fix the header row to make it always visible. I found solution ...

How can I display a gird of data in an AIR application?

I want to display a 20x20 grid of integer numbers in an AIR application. I am new to ActionScript and AIR, so I am not sure how I could go about doing this. ...

asp.net control for displaying data in a grid

Hi all, I'm attempting to build a page that displays the same set of information of different "items" in a grid or table. It's akin to a shopping page that displays products in for e.g. a 4 by 3 table. I came across datagrid and gridview but they display grouped information according to columns and each row representing one item only. ...

Custom object management with a user-friendly front-end

Hi all, We want to build a system to manage our customer information. The customers are assigned to sellers and seller's routes. For example, seller A will visit customer B on Monday. We want it to support several features Import data via CSV Data grid to manage the customer, including reordering of rows Batch operation (e.g. select ...

Tkinter grid() Manager

I am having a bit of trouble with the Tkinter grid() manager. It is spacing the rows too far apart. I have two entry widgets to place, and I need one almost directly under the other. When I place them both on the same row and column, but change the pady option, it places them directly on top of each other. I know there has to be a way to...

iPhone Objective-C cant use 'new' to allocate?!

I'm creating a Game of Life program for the iPhone and I want to be able to store previous states of the game in a large array, if I take the C approach and each "Grid" is a structure consisting of two ints for X, Y and a BOOL *array where I malloc the memory proportional to X*Y times the size of the BOOL value I can create 1000 of these...

Actionscript grid scale issue

Hello; I have a bit of a problem with actionscript 3.0 dynamic movieclip placement. The scenario is like this: I have a 16x16 grid generated by actionscript inside a movieclip. (let's name it gridContainer). The tiles of the grid should have constant height and width; it should not scale with its parent's height/width changes. Also, ...

Saving changes in SlickGrid

HI, I'm looking at SlickGrid and I can see example on how to edit the cell, however do I save these changes. I have yet to find an example that tells me how to do this. ...

Multiple Cell Editing within a Grid

So I'm looking for a way to allow a user to enter numbers and dates into a grid of cells in bulk. What would be ideal is if they could simply highlight/select a range of cells, type "42" or "12/31/2010", and move on and then "42" or "12/31/2010" would exist in every cell. This is kinda like entering data into Excel that we're trying to m...

WPF layout for autosize textblock and icon floating on the right - how?

I am trying to get a layout where an icon floats on the right end of a textblock; the textblock grows/shrinks to content. I cannot make this happen without the textblock running outside the grid. For example: <Grid x:Name="LayoutRoot" Width="500" HorizontalAlignment="Left" ShowGridLines="True" > <Grid.ColumnDefinitions> <ColumnDefini...

ExtJS grid problem with html

I have an ExtJS grid connected to a store. When I add a thumbnail column with an <img> tag inside store, grid shows 0. Is there some kind of html filtering? If I change the store data to something without html tags it shows fine. Excuse my awful English and thanks in advance. ...

[iPhone] How to make a Grid-like button group?

Hi all, I'm very new to iPhone development, so appreciate if I'm kind of dump. What I want to do, is to create a group of buttons. I know there is something like a button group, but only for buttons in a line. I want to create a button group, which will look like a UITableView, with several rows and at least 2 columns. I know I have see...

ExtJS Grid displays date column but not the other

Hello All, I've been having some trouble finding the problem in my code, so thought I'd try to find a second pair of eyes. Code: var logStore = new Ext.data.JsonStore({ autoLoad: true, url: 'inc/interface/config.php?list=messages', root: 'logs', id: 'ID', fields: ['ReceivedAt', 'Message'] }); var logGrid = new Ex...

Algorithm for searching grid in diffrent direction

Hi, Today a work mate posed a question to me. Given a grid of characters and a list of words one would have to find every occurrence of that word in the grid both horizontally, vertically and diagonally. The solution we came up with works and does the trick but I am interested to see how other peoples minds tick. ...

is there a datatemplate for grid panel elements in WPF?

Fairly new to WPF... I have a collection of data I would like to bind to a grid panel. Each object contains its grid row and column, as well as stuff to fill in at the grid location. I really like how I can create data templates in the listbox XAML to create a UI with almost nothing in the code behind for it. Is there a way to create...

I need help with getting these div dimensions to be uniform across browsers

I am working on a website located here: http://www.freshhealthybistro.com/temp/ I used a 960 grid, and the css for the 960 was taken from the website: (google 960 gs because I can only post one hyperlink) I realize that maybe I should have just avoided using the 960, but anyway... I did use it and unfortunately my website isn't uniform...

Highlight column of grid

i need to highlight a column of a grid when clicked for sorting. ...

Setting Tab Index

Hi.. I have some values in Grid at Runtime.. Two Columns "Name" and "Value".. I made column[0] i.e Name uneditable..So when I press tab I don't want tabindex on Column[0]..I want Tab to move only on editable values.. Can Anyone Help!!! Thanks in Advance!!! ...