grid

ColumnDefinition doesn't expand until resize

Hi, I have a grid where one columnwidth is defined as *. The other columns are defined as Auto. The column with the *-definition contains a usercontrol derived from Panel that also implements IScrollInfo. During this control's MeasureOverride visibility is set to visible on a RepeatButton in another column (the RepeatButton's visibility ...

Resizable WPF Grid inserts blank lines between rows and columns depending on actual size

Hello, I have a Grid displaying rectangles. The grid can be resized and is supposed to display adjacent rectangles without any gap. However, depending on the actual size of the grid, blank lines appear between the rows and columns of the grid. I guess this is to make up for sizes where the width isn't a multiple of the number of column...

Ways to identify which cell was clicked on WPF Grid?

Hi I have a 3x3 matrix grid. If a user on particular cell, how can I identify the cell cordinates after click? Please advise. thanks PJ ...

C# Foreach XML Node

I'm saving 2-dimensional coordinates on an XML file with a structure similar to: <?xml version="1.0" encoding="utf-8" ?> <grid> <coordinate time="78"> <initial>540:672</initial> <final>540:672</final> </coordinate> </grid> I can open the XML file and read it via the XmlTextReader, but how do I loop through the coordinates specifica...

Drag and drop between ListBox items and Grid cells in WPF?

Hi There is a list box with some items in it. Also there is a grid with 3x3 matrix. The user will be dragging an item and dropping on one the cells of grid. Most of the samples I found are about dragging-dropping from one listbox to another listbox. But I want to drop in one cell of grid. How can I achieve this? Please advise. thanks P...

C# Executing timed commands with varying times

I have a timer control and a grid with a List of coordinates for the grid. I was wondering how I could use the timer control or any other control in order to execute code in the interval, coordinate.Time as it varies for each coordinate. Also, thread.sleep(time) is not an option for me. foreach (Coordinate coordinate in this.Macro) ...

Ext JS Grid Row Background Color Set

How would I go about setting the background colour of an Ext JS Grid row, mainly just the selected item(s). Any help would be greatly appreciated. ...

image button beside each record in a grid

iam working on asp.net &c# i am working on the following scenario. i have two records ajay and mike in a grid. requirement:i need a image button to be displayed beside their names such that on clicking the button it will have common functionality for both records. if i click on the button beside ajay it displays a div with all hyperl...

delete grid row

Hi, i have a simple grid with data from mysql db. When delete a record actually refresh the page. When i am at last page and start delete records after delete all records when refresh i get no data because i dont have any records on that page. So some how i must find a way when i am on last page and all record deleted refresh to prev...

Divide a list of numbers into smaller list with "sum" approximately same.

I execute around 2000 tests on grid, each test being run as separate task on grid. The tests do have rather big startup time. Total execution takes 500 hours, finishes in less than 10 hours on 60 node SunGridEngine. Runtime of tests vary from 5 minutes to 90 minutes. Combining tests without much intelligence gave some performance gain....

XAML: Can I refer to a Grid row or column by name?

If I name each row and column in a grid, can I set a control's grid.row="Row_Top"? I have defined StaticResources to refer to it but is there a converter or some other method to accomplish this without the resource? ...

Information Dashboards in R with ggplot2

I'm looking to create a static dashboard viewable in a web browser. And I'd like to create something like what Stephen Few does in his book Information Dashboard Design. (see example at bottom) Ggplot2: Shouldn't be any issue producing the graphs below, right? Dashboard Layout: Is grid suitable? Or should I lay things out in html/css? ...

Create grid out of number of elements

Ok here's what I'm trying to accomplish. Say I have 100 items. I want to create a "grid"(each Item consisting of an x, y point). I want the grid to be as close to a square as possible. Is there any kind of math to determine the grid width, and grid height i'd need by just a single number?(By grid width and height I mean the number of x i...

What's the point of 960 Gridder or any grid framework for that matter?

What's the point of 960 Gridder? http://gridder.andreehansson.se/ Is it just useful for laying out websites? I'm not too clear on why exactly these grid frameworks are so beneficial... ...

unbound grid for .net

Hi all, can i have your opinion ? I want to develop .net winform application and i want to use fully unbound grid. Anybody ever use 10Tec iGrid.net and Xceed grid for .net ? which one is better ? Thank you. ...

MvcConrib Grid's Sortable property don't seems to to do any effect

I need a way to generate the header texts in the grid as sortalbe link. Do I need to use custom renderer to get this behavior? ...

Synfusion WinForms grid control: What events can I subscribe to for when a cell's content changes

It's been many years since I've used this "API" (yes, in quotes, as it's possibly the most confusing API I've ever come across!) My need is a very simple one. I want to subscribe to an event that tells me that a cell's content has changed and what the new content is. There are a thousand and one events fired that tell you when a cell ...

Dojo datagrid cell editing doesn't allow editing multiple cells in the row

Hi there, I'm using dojo 1.2.2 version. I can edit one cell in the datagrid fine. But when I edit another cell content in the same row after I complete editing the previous cell, I got prompted "Modify on deleted item is not allowed. Please save or revert changes before." and the second cell content doesn't get saved. Could somebody poi...

trying to make a simple grid-class, non-lvalue in assignment

I'm implementing a simple C++ grid class. One Function it should support is accessed through round brackets, so that I can access the elements by writing mygrid(0,0). I overloaded the () operator and i am getting the error message: "non-lvalue in assignment". what I want to be able to do: //main cGrid<cA*> grid(5, 5); grid(0,0) = new...

problem with data loading on DataGrid

I am using a DataGrid (.NET 1.1) to which data is being binded from data source which gets almost 3000 rows and 25 columns. Because of heavy data, it is taking around 3 minutes to laod data on to datagrid. I want to load first50 records, then next 50 , then next 50... so on... How can I achieve this ?.. i tried using Paging option but ...