grid

How do I get column name from rowselection in an ExtJS grid?

I have a extjs gridpanel setup, and I want to be able to do things based on a user clicking on text or icons in the grid. For example, filter the grid if the user clicks (or double clicks) a word in a column, or show a popup if the user clicks on an icon. I can easily get the row they clicked on, and values by column name from that row, ...

Fluid grid layout jQuery

Im using http://phase-change.org/jquery.gridlayout to achieve the fluid layout of several divs in my layout. I need to keep a div on the right which contains my main menu the rest its just the content divs. I cant figure out how to maintain the menu on the right without floating it or making the grid elements respected the menu and rea...

WPF bug? Grid's column does not accommodate ListBox scrollbar

In the following example, the leftmost column's width does not increase to accommodate the ListBox's scrollbar that appears when the UserControl's height is decreased: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Example"> <...

grids and buttons in gwt

hi all, i have a grid of data and buttons, how can i refer to the data in grid or the row that was click in the context of the button? meaning: the button clickHandler receive a clickEvent object and nothing else. so how can i get to the table data from it? thanks me ...

expand column width of a grid view

HI, I need to expand column width of the grid view by dragging it to suitable length like we do in excel after selecting a column.Is it possible? ...

WPF TexBlock in Grid in ListView not Sizing Correctly?

I have a TextBlock that is in a Grid that is an ItemTemplate for a ListView. I have the items so that they grow when the window is resized, but I cannot figure out how to have the TextBlock be limited to that size. I've tried to do this with the width on the ColumnDefinition - if I set the Width to a fixed number (say 350) the text wra...

A property grid in jQuery

I want to create a property grid like this: http://extjs.com/deploy/dev/examples/grid/property-grid.html However I don't want to use extjs, and am using jQuery instead. What plugin would most easily enable to me create a propertygrid? jqGrid is the only one that I know of right now. http://www.trirand.com/blog/ I am not interested in ...

Grid expanding in WPF

Hai presently i have grid like this. <Grid Name="tGrid1" Grid.Row="0" Background="Black" > </Grid> <Grid Name="Grid2" Grid.Row="1" Background="LightBlue" > </Grid> <Grid Name="Grid3" Grid.Row="2" Backgrou...

"Hello, world!" example for DevExpress QuantumGrid?

Hello I successfully installed the latest QuantumGrid from DevExpress, but I've never worked with this grid before, and I don't know how to get started. I find that the HLP file isn't really a tutorial, and the demos are so rich to the point where I can't get started quickly and see if QuantumGrid fits my needs. Would someone happen to...

How to get address of point (x, y) in a grid sized (w, h)

By address I mean the location if you were counting left to right, top to bottom, starting with 0 I know how to get the address given point (x, y) in a grid sized (w, h) address = (y * w) + x That is, in a grid 7 x 6 units, the point (2, 5) gives address 37 (see illustration above) How do I get point (x,y), given address 37 and ...

How to print WPF Grid paged?

Hi! I'm printing a WPF grid. As long as the data fits on one page, everything works fine. But sometimes the grid contains more data. Therefore I need to split the grid into multiple pages. Can anybody help me? My code looks like this (visual is the grid). var printCapabilities = printDialog.PrintQueue.GetPrintCapabilities(printDialog....

.NET WinForms - Programmatically End Current Edit - DataGridView

How can you programmatically end the current cell edit without losing the change? I have my DataGridView set to EditOnEnter mode. I tried EndEdit() on the grid but this backs out the current edit. ...

How do you bind a grid's children to a list?

In my ViewModel I have a list of items that I would like a grid in my view to bind to (the items will be the grids children). The list is a list of view models for the items. How do you bind a grid to the list (I can access .children in code but not xaml)? Also, how do you specify the data template (another xaml file) for the view mode...

Is there a good MooTools data grid that supports JSON and XML?

I'm looking for a MooTools based data grid that supports JSON and XML data types. If anyone could direct me to one, and identify a few key points why they would select it, I would appreciate it. ...

.NET / WinForms - Clear a Sort on a DataGridView

What is the proper method to tell a DataGridView to stop sorting? I have a "screen" where I tell the grid programatically to sort by column 4 and ascending. When I switch to another area I want the same grid to come in 'default'/no sort. I'm removing all the columns and adding new ones. The sort remains on the 4th column. I don't see a...

Send a class, not just a class interface, between servers?

I am creating a grid application which requires me to send software packets that wrap a class out to participating nodes within my grid. The first idea that I came up with was to have the master nodes contact each node (running a Windows service) and send an assembly containing a class which adheres to a common interface along with a ....

WPF Collapsed Grid not Styling

So, I have a grid inside a listbox. The purpose is that when the listboxitem is selected, I want the grid to show, having the selected item expand to show more detail information. I set up a style trigger for this and it works great, except for one thing: the labels and textblocks styles are unapplied on the grid. I'm assuming this ha...

Getting values from Dynamic controls in Grid view

Hi All, I am generating a Gridview with Custom controls (Text boxes) as per the user input during the run time. when i try to access the data in those text boxes, its not happening I had triggered this operations with the Button and the code is as follows: for (int rowCount = 0; rowCount <= gvCapacity.Rows.Count; rowCount++) { ...

Preventing callback during validation in ComponentArt grid

I have to validate a couple of fields in the CA grid every time a record is updated/added. The grid is used in the callback mode. What i cannot figure out how to do is cancel the callback if a cell is invalid. I am trying to do this 'onBeforeUpdate' event of the grid. I can call set_cancel(true) to cancel the update. But this will change...

How do I make a memo column on a DX grid show partial words?

I've got a TdxDBGrid that's displaying some information retrieved from a database query. One of the columns is a Memo column, (TdxDbGridMemoColumn,) which is necessary because the data in the field it's bound to comes out of the database as type TEXT, not CHAR or VARCHAR. Problem is, the memo column likes to display whole words, and if...