grid

Help with jQuery Grid in an ASP.Net MVC 2 RC with areas

I've followed Phil Haack's demo of jQuery Grid successfully in an mvc 2 rc project without areas. Now I'm trying to implement the same code in an areas project but the data is not being passed to the grid. The jquery grid url property from the demo appears to be in the format of: url:'/{controller}/{method}/' I'm attempting to inclu...

A pythonic way how to find if a value is between two values in a list

Having a sorted list and some random value, I would like to find in which range the value is. List goes like this: [0, 5, 10, 15, 20] And value is, say 8. The standard way would be to either go from start until we hit value that is bigger than ours (like in the example below), or to perform binary search. grid = [0, 5, 10, 15, 20] va...

Quantum and Molecular Dynamic packages and Queueing systems

Hi, from the extense list of Quantum and Molecular Dynamics packages, which ones can be easily "interconnected" to a cluster which works with the queueing systems PBS and Sun Grid Engine? Or is it there some program or method that allows "packing" all jobs in a PBS or SGE way? Thanks ...

Which third-party WPF grid?

We are looking at buying a third-party grid control for our new WPF application. I would like for some of you to share your experiences with third party grids such as: Telerik Xcedd Infragistics DevExpress ComponentOne Others ?? The grid needs to work with the MVVM pattern and we need those functionalities: Inline Editing Sorting ...

WPF grid row height doesn't match the height that I input

I've been pulling my hair out all day on this. For some reason when I set up my grid while I'm using some custom controls the actual height of the grid rows changes around and doesn't bother to use the height values that I give it. I originally thought it was because I was loading in custom controls in the code, but even when I take th...

gridview inside multiview control

hi everybody, i am having a multiview control with two views, each having its own gridview , the gridview inside the first panel works well, but the gridview inside the second panel is malfunctioning, i.e., while inserting a record in the gridview the row command executes and the data stores in data table object, but it is not binding to...

css grid system where column width is dynamically determined?

Hello, I have used 960gs to get a first version of some pages going (I am not the designer, but would like to have an approximate layout before handing it to one). It has helped me greatly, but now I am wondering if there is a CSS grid framework where the columns will expand/shrink to make use of all available space in the browser windo...

Find Control inside Grid Row

i m using parent child grid and on child grid i m doing Show / hide threw java script. and child grid i bind run time with Templatecolumns like GridView NewDg = new GridView(); NewDg.ID = "dgdStoreWiseMenuStock"; TemplateField TOTAL = new TemplateField(); TOTAL.HeaderTemplate = new BusinessLogic.GridViewTemplateTextBox(ListItemType.He...

Formula for the max number of paths through a grid?

Given a grid of open spots, and a certain number of tiles to place in those spots, what function f(openSpots, tilesToPlace) will give you the number of continuous paths you can form? Continuous paths are placements of the tiles such that each tile shares an edge with another. (Only corners touching is not good enough. So (0, 1) and (0, ...

wpf newbie - how to layout variable set of attributes so they appear in same columns as fixed attributes

Hi all, I am a wpf newbie & loving it. However I have a layout problem which I hope someone can help me with. I need to build a persons attributes editor. These consist of 2 fixed attributes - first name & lastname, plus a variable bucket of other attributes such as age, sex etc. I have build a dialog consists of grid which contains 2 ...

Dojo Grid excel

Hello, I have read you was previosly trying to make some changes to dojo widget to achive better behaviour. Im asking because I have a similar task, and I dont want to reinvent the wheel, and would be very helpful if some1 can share experience. Thanx Fornwald Ladislav ...

Programming a Location Grid Map in C#

I would like to know if there are any inbuilt controls in C# with which I can program location grid maps on a X/Y Plane. ...

Problem with a custom EditorGridPanel editor

In a Ext.grid.EditorGridPanel, I need to display my own Ext.menu.Menu when the user wants to edit a certain header. To do this, I defined my own editor which inherits from the Ext.form.TriggerField and on the onTriggerClick, I create a Ext.menu.Menu Problem: when I click on the menu, the editor is closed so the grid doesn't get the valu...

Using MvcContrib Grid with dictionaries and lists

I have a class that contains a property-value (property bag) dictionary beside normal properties. I'd like to display a collection of this object in a table using the grid from MvcContrib. The class: public class ObjectWithPropertyBag { public string Property1 { get; set; } public string Property2 { get; set; } public Dic...

Table grid control for ASP.NET

What is the best way for me to build a control that will kinda work like an Access table in ASP.NET? That is, I define, say, 3 columns. The user can add/edit/remove rows. It can be one row at a time, that's fine. There are other fields on the form too, not related to this table. When the user is done adding rows of information, then...

WPF: Creating snappable grid lines with variable spacing

Hi! I'm currently creating a MSPaint-like WPF-application and struggling with the implementation of a snappable grid. The painting of the grid is no problem with a VisualBrush and a Rectangle but the problem is that these lines are then purely for looks and can't be easily changed (for example highlighted when the snapping to a specif...

How to have rows in a bound Silverlight grid act differently based on column values?

I would like to have the rows in a bound Silverlight grid act differently based on column values. Specifically, I need the following Grid to make a row inactive(read-only) and show up as a different color based on a column value <data:DataGrid x:Name="griTemplate" Height="169" VerticalAlignment="Top"> ...

points of an irregular shape flash

I have a grid that is dynamically drawn with the Graphics class. I have bricks that collectively make up pieces that need to snap into the grid. These pieces can be rotated by 90 degrees. Each time a piece is rotated I need to find the new points for the piece (an irregular shape) so I can calculate whether it is over an open square(s...

how to apply css class to mvccontrib grid

I am using mvccontrib grid in asp.net mvc(C#) application. How can i apply css class to the grid thats created for the mvccontrib grid Attributes? I am looking to construct like: <table border="0" cellspacing="0" class="usertable">....</table> By default, the mvccontrib grid has the class "grid". I need to change it to my custom css...

What is best Grid component for java web applications

We are using Coqsoft Treegrid component in out web application. Though it has many cool features, it is native code (developed in C++) and a bit difficult to maintain. Could somebody please suggest a better option. I also need grouping (multilevel) by columns. Thanks ...