Is there a built-in grid that I could do the following simply:
SELECT * FROM MYTABLE
It would list all the rows, with paging support.
Allow me to update/delete/insert a row by double clicking on it and making it editable etc.
Does this exist? Does it require me to write any code to perform the CRUD operations?
(any version of ASP.N...
Does anyone know how i can get the grid to select a row by clicking on any cell in the row?
The only way i can do this at the moment is by setting the AutoGenerateSelectButton property to True, but this adds a column to the grid with a crude "select" hyperlink and only selects the row if the word "Select" is cliked on.
Surely there ha...
I am new to extjs. I want to display icon images for each grid elements.
can you please healp me anybody?
i am getting the image path from an xml file.
my code is below. here i am displaying image path.
i have to replace it by displaying image.
Ext.onReady(function(){
var store = new Ext.data.Store({
url: 'new_frm.xml',
...
I am trying to hide the TextBlock and Label which are placed inside a grid like so:
<TextBlock Grid.Column="3" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Hidden">Text inside TextBlock</TextBlock>
<Label Grid.Column="4" Grid.Row="2" HorizontalAlignment="Center" Visibility="Hidden">Text inside Label</...
I would like to use a Grid as an ItemsHost but none of the items appear in their bound (column, row) positions. How can I make this work? As a simple example:
XAML
<ItemsControl ItemsSource="{Binding DataSet}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<TextBlock Grid.Column="{Binding Col}" Grid.Row="{Binding Row}" Text="{Bindi...
I have standard .net 2.0 gridview control from which i want to get row keys or cell values from the grid when a row is selected.
I also need to call a method each time a row is selected.
Does anybody know How i can do this using ASP.net & VB?
...
I am just playing around with MVC for the first time and am having a problem.
Let's say I have 2 tables - Person and Location. Location has a foreign key relationship to Person - so 1 person can have multiple locations belonging to them.
In my view I have form inputs for the Person fields - this works fine.
However, I also want to h...
I have a basic web page that I'm trying to capture the enter key when pressed. I will have a page with many rows( depending on what was pulled by the database ) where each field is editable. What I'm trying to do is when a user is focused on a certain column on a certain row, I want them to be able to press enter and their focus will go ...
Given p(0,0), how do I retrieve points{(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1),(-1,0),(-1,1)} which are the perimeter points relative to p offset by 1.
...
I've got to present a spreadsheet-style interface with a grid of textboxes for the user to fill in in an ASP.NET application. What's the most efficient way to construct this and to save the results?
...
Using the WPF Grid control is easy when your child elements are always contained within a single grid cell (i.e. there is no column/row spanning). A fixed width column stays the requested fixed width, an auto column will indeed size itself to be as wide as the widest cell in the column. Star columns share any remainder space according to...
We have written a data store / grid widget system in JavaScript that automatically updates all widgets associated with a data store whenever some of the data changes.
Its nice features are:
it supports sorting by multiple attributes (for example, by status, then priority descending, then date ascending, or whatever)
the sort order is...
Looking for a reference implementation. Haven't tried LiveGrid - though tilting towards that implementation. Before I migrate, I was wondering if anyone could point me in a better direction.
...
I've got a user list on the left side of my page in a datagrid and I want to load a div in the right side of my page with the clicked user's information. I assume I'll do the load of the div in the itemcommand event, but how do I handle page load then? Do I need to know what caused the postback? Do I need to reload the grid on page_load ...
I have a grid and I need to dynamically replace a control that resides in one of the cells. I don't know in terms of syntax to pinpoint the grid cell, as where do I put in the row and column number so I can delete whatever is in it.
...
Back in the old days (i.e. last month) I'd bind my winforms grid to a dataset and be off and running. By default the grid contents could be updated. (similar to an Excel spreadsheet)
But, if I bind a grid to a Linq datasource (either Linq to SQL or Linq to Entities) my winforms grid is locked into a read-only mode. How can I enable an...
Hi,
I am creating some sort of grid for a project. The grid has one special requirement (that is the reason why we are trying to create one in house), the middle columns have to be scrollable.
To picture the situation: We created the grid more or less like this:
There is a topcontainer div, that contains 3 other divs the left middle a...
HI,
How do I move (drag) a Grid Panel inside a WPF Window? The Grid Panel does not have a Position or Location or X and Y coordinate porperty. All I am looking at is to move the Grid Panel from its current location to a new location using Mouse so that the controls that are "burried" underneath it will show up.
Any pointers?
Many Than...
Let's say I want to position an element at the coordinates x=20, y=5 within the 3rd column of a Grid control. How do I do this? Do I need to add a Canvas panel to the column and then add the controls to it?
Thanks.
...
Is it possible in jqGrid(jquery grid http://www.trirand.com/blog/) to have custom cell text colors e.g. in price column i want red if price > 100$ and green if price < 50$ else grey?
More generally do
jqGrid provides hooks to change grid cellview, e.g. i can register a callback whenver cells of price column are created or modified.
o...