Click here to Skip to main content
15,891,033 members
Everything / Grid

Grid

grid

Great Reads

by tugrulGtx
A walkthrough for a grid implementation of "particle in cell" problem to improve performance of axis-aligned bounding-box (AABB) collision checking in various scenarios
by Nitij
Lightweight and easy to use JavaScript plugin to create UI Grids
by Levente Kupás
If you have big reports which run slowly, you may use this T-SQL based engine to speed-up them.
by ASP.NET Community
Extending Grid View Control of ASP .NETIf you want to modify some functionality of existing Grid View control of ASP .Net then you always have the

Latest Articles

by ToughDev
How to fix ‘Search fields undefined’ error when generating source code for a Scriptcase gridview
by tugrulGtx
A walkthrough for a grid implementation of "particle in cell" problem to improve performance of axis-aligned bounding-box (AABB) collision checking in various scenarios
by Darren G441
How to build a matrix display to represent a many-to-many entity relationship
by Sannyok
Extension of standard pagingtoolbar

All Articles

Sort by Updated

Grid 

12 Aug 2011 by #realJSOP
Depending on how your colleciton items are designed, you may have to rebind your data source.If the items in the collection inherit INotifyPropertyChanged, the grid will automatically update.
14 Nov 2016 by #realJSOP
The techniques involved differ based on the framework you're using. WPF is a lot easier in terms of "responsive" controls than is WinForms.
2 Feb 2015 by /\jmot
Ref.http://www.dotnetwindow.com/2014/04/WPF-Insert-Update-Delete-Operation-on-Datagrid.html[^]http://www.dotnetcurry.com/showarticle.aspx?ID=566[^]http://www.dotnetcurry.com/showarticle.aspx?ID=563[^]https://gsselle.wordpress.com/2013/05/26/wpf-datagrid-update-insert-and-delete-operations...
5 May 2010 by 23_444
I'm having trouble with the max position of a horizontal scrollbar. I'm creating a grid and need to set the .page and .max parameters dynamicallybecause user could resize the columns (each column can be resized). And I also don't want scrollbars to show up if scrolling is not...
19 Nov 2012 by __TR__
Not sure if i understood your question correctly. If you are looking to insert data into gridview you can check the below articlesGridView with insert line[^]Editable GridView in ASP.NET 2.0[^]Extended GridView with Insert Functionality[^]Insert, Update, Delete with Gridview ... Simple...
22 Nov 2012 by __TR__
This article might be helpfulInsert, Update, Delete with Gridview ... Simple Way[^]
26 Feb 2013 by _Amy
A simple solution: use AutoGenerateColumns="True" and let the gridview to decide the number of columns dynamically.--Amit
7 Apr 2013 by _Amy
Set MaintainScrollPositionOnPostback to true in your page directive.Try this:--Amit
23 Jan 2012 by _Maxxx_
I would normally bind to a collection of objects rather than a database result set - especially in this sort of case - so create a class TimesheetEntry with properties of Date and Type and Hours or whatever else you need. Create a collection of these objects, setting the date programmatically...
12 Apr 2014 by _Noctis_
How to use Sublime text editor to help with your VS development
17 Jul 2011 by a9m2i11t
How to Get HyperLink value of Grid View column in a Text Box....
6 Apr 2011 by Abhinav S
You could use two different types of buttons - one for empty and one for filled racks.Style each of them separately and create apply these styles based on the rack type.
9 Jun 2011 by Abhinav S
Use a DataGridTemplateColumn and have all three controls in it.e.g. Pick and choose one of them as you require.
5 Feb 2013 by Abhinav S
TryExpanding / Collapsing GridView Columns with Smooth Dynamic Effect[^]Column resizing, try here - http://blog.lavablast.com/post/2007/11/08/ASPNET-GridView-column-resizing.aspx[^].
23 Aug 2013 by Abhinav S
Tryhttp://paulstovell.com/blog/dynamic-datagrid[^]http://blog.rag.no/post/A-simpler-%28and-dynamic%29-Grid-control-for-WPF.aspx[^]
23 Aug 2013 by Abhinav S
Tryhttp://paulstovell.com/blog/dynamic-datagrid[^]http://blog.rag.no/post/A-simpler-%28and-dynamic%29-Grid-control-for-WPF.aspx[^]
11 Jan 2011 by abi1988
I have a radgrid with GridButtonColumn as one of the column.I need to change that column's text displayed in the grid during ItemCommand event. for eg. if text is 'yes' after ItemCommand event, it should be changed to 'no'. How we can implement this?
12 Aug 2011 by adnama
I have a wpf form in which during the running of the program, I am reloading a grid. (Not a gridview - the ones of wpf) The grid is reloading ok but the old items are shown. When you go back and go in to it again the new items are shown.Is there something similar to this.refresh or...
24 Aug 2011 by Al Moje
Hi,See this link [Gridview delete button code]Please remember to mark the replies as answers if they help and unmark them if they provide no help.Regards,Algem
8 May 2012 by aliasad106
i am using DevExpress Grid Control in my desktop application Form. it has column From_Date. I made it editable and i enter the date via DateTimeEdit which is Grid's own. The problem is when i want to use keyboad Arrow Keys to change values of date time Picker in Grid Cell, It loses it focus to...
26 Feb 2013 by Am Gayathri
I want to create columns in grid dynamically in my project, The grid should display search result.In search criteria am passing some IDs.If i pass 12 ids it should generate 12 coloumns if i pass 10 it should generate 10 columnsHow can i do this?Share your logic.
7 Mar 2013 by Am Gayathri
I want to remove duplicate values from my gird row. For that am checking each row with the next row.If any match is there then it should remove that rowam using below code for removing row,Gridview1.DataSource=dt;GridView1.DataBind();If(//here am checking rows if any match found it...
10 Mar 2013 by Am Gayathri
I need to show some values which i got from Database in my grid as below,Name ScoreMaths ScorePhysicsA 1 5B 2 6C 3 7D 4 8So i added new...
12 Mar 2013 by Am Gayathri
Hi, I want to show one image inside my datatable. Am using code, dr = dt.newrow(); dr[0]= dt.addrow(dr);How can i do this?Here am checking some values, For example the value in any cell is greater than 50 the it should show one...
17 Nov 2015 by Am Gayathri
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack on grid view databind event.what is the reason for this error? Am getting this error on databind event.Gridview1.DataBind(); //here am getting this error.it was working. What...
31 May 2015 by anjus1234
I was trying to find examples in which Kendo UI grid is filtered on the server-side with pure ADO.Net code, without using any ORM or Entity Framework or LINK to SQL data access code. All examples I have seen use some sort of framework to access data.Does anyone know of an example where...
10 Jun 2015 by anjus1234
.locked(true)option is not showingcan onyone help?
30 Jul 2013 by Antariksh Verma
Hi,I want to implement Grid using KendoUI in MVC 3.0 But the sorting and filtering does not work.the code of .cshtml file is :@(Html.Kendo().Grid(Model) .Name("Grid") .Sortable(sort => sort.SortMode(GridSortMode.MultipleColumn)) .Columns(columns => { ...
8 Aug 2013 by Antariksh Verma
Hi ,After doing lot of R&D in Kendo UI i got that if we want sorting ,filtering and paging on client side we have to add .ServerOperation(false) so that all functionality like Sorting and filtering works on client side.
14 Aug 2013 by Antariksh Verma
Hi ,After doing lot of R&D in Kendo UI i got that if we want sorting ,filtering and paging on client side we have to add .ServerOperation(false) so that all functionality like Sorting and filtering works on client side.
21 Aug 2013 by Antariksh Verma
Hi ,I am trying to implement JqGrid in MVC3 using helpers, but all the time i get a javascript error -"JavaScript runtime error: Object doesn't support property or method 'jqGrid'".I also add reference of MVCJqgrid in my project.Here is my code for Jqgrid in view...
16 Jun 2013 by Anudeep Jaiswal - MCA
There May Be Trigger In Your Table (Stored Procedure : spUpdateTaskAssignment).ExecuteNonQuery Returns : Sum Of Total Number Of Rows Affected
29 May 2014 by aransiola
good day all,obout grid only display total at the footer based on the data that is displayed. How can i display the totals based on the grid data source. kindly help me
7 Apr 2013 by aravindnass
heyy..I am using a grid in the item template i have a checkbox (grid is in update panel).. But when I scroll the grid then check the check box then the page is jerking and go to top..here is my gird code.. My source code is large ..if you want I will paste my code...
16 Jan 2014 by aravindnass
Heyy..Is there any way to refresh only web grid in mvc 4 ?????..I add some data using ajax call - after save i need to refresh the entire page for showing data in web grid. How we can refresh only the web grid, after an ajax action complete. Please provide the sample source . ...
23 Sep 2013 by Arsalaan Ahmed
this is my aspx code
26 Feb 2013 by AshishChaudha
see below linkHow to create template columns dynamically in a grid view[^]how to create columns dynamically in a grid view[^]P. S. : I had used example of second link and working fine.Thanks
11 Oct 2013 by ASP.NET Community
Introduction: In this article i'm posting "How to bind nested grid view and work with nested control with nested grid view".Binding nested grid and
11 Oct 2013 by ASP.NET Community
Normal 0 false false false EN-US X-NONE X-NONE
30 Jun 2009 by ASP.NET Community
Extending Grid View Control of ASP .NETIf you want to modify some functionality of existing Grid View control of ASP .Net then you always have the
11 Oct 2013 by ASP.NET Community
In this Article we are going to read and understand how in a web application we can export a gridview data into Excel file. As many times in real
11 Oct 2013 by ASP.NET Community
In this article I am explaining about how to show Loading... image using Update Progress at center of grid view. for  this article i have used North
11 Oct 2013 by ASP.NET Community
For one of my applications , I needed to get the all the records,found in AdvancedFind and manage these records. If the record count is less than max
11 Oct 2013 by ASP.NET Community
This article explains how to make validation on checkboxes and remember the selected checkboxes' values in DataGrid/GridView etc, together. This will
19 Nov 2012 by asp.net4.50
newly added row need to contain some column values of the row where we clicked add button
22 Nov 2012 by asp.net4.50
i want to insert a new row after editting the row in grid view ,. that is instead of updating record after editing , just i want to insert a new record in table
22 Oct 2014 by ATjong
I have a Radgrid with a RadComboBox in a templateColumn. My other columns are AutoGenerated. By default the template column comes as the first column in the grid. If I leave it like that, it will work just fine. But whenever I change the index of it (and it actually moves), the RadComboBox in...
24 Aug 2011 by avi_dadi2002
Hi Everybody, In my grid i've button in every row. When i clicked the button i want to get the row values. Please advice me.Thanks in advance.
19 Oct 2010 by avishekrc
Hi,I have the following telerik grid:
20 Oct 2010 by avishekrc
I have done it:protected void btnSaveNetwork_Click(object sender, EventArgs e) { int res = 0; NetworkInformation netin = new NetworkInformation(); netin.ProjectId = ProjectID; netin.UserId = Convert.ToInt32(SessionHelper.UserId); foreach...
23 Apr 2013 by Aydin Homay
Hi Please use follow of code for solve your problem:Public adodbcon As New ADODB.ConnectionPublic adodbrs As New ADODB.RecordsetPublic Sub opentable(sql As String) adodbcon .ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = E:\TrainTimeSchedule.accdb" ...
25 Dec 2016 by Badal Kumar
Helper Method: @helper GetURL(){ @Url.MyAction("Step1", "Application", new { applicationid = "#= Applicationid #", type = "ap", title = "#= Applicationid #" }) }Code Inside from kendo Grid: columns.Bound(a =>...
9 Jul 2016 by bahman.01
This code gives me the columns names: var columnsNames = new Array(); var columns = $("#grid1").data("kendoGrid").columns; if (columns.length > 0) { for (var i = 0; i
9 Jul 2016 by bahman.01
Here is the correct code:var columnsNotHidden = new Array();var columns = $("#grid1").data("kendoGrid").columns;if (columns.length > 0) { for (var i = 0; i
9 Jun 2012 by Barry Lay
I am quite new to WPF, and am struggling with accomplishing a visual effect - I would like to have a two-dimensional grid of objects with a data-driven number of columns. I am trying to go with MVVM with zero code-behind.I have the following structure:
10 Jun 2012 by Barry Lay
If code behind becomes necessary, so be it. I would just like to avoid wiring the UI elements to the business logic - that way lies maintenance trouble. I would think that the answer to my problem is a basic missing component or setting.
22 Oct 2015 by BC3Tech
The main challenge facing us when doing this is that Grid isn’t an ‘ItemsControl’ and therefore can’t be bound to a collection of data. So how do we solve it? The solution, like so many, can be arrived at by chunking the problem up in to pieces.
18 Aug 2015 by Bharath K A
This is a HTML5 WebSocket service that streams live, real-time data to browser grid control. This service is capable of automatically computing math expressions on the fly (dynamically at runtime)
20 Aug 2010 by Bhavin Jagad
you may follow thisYou need to keep track of the last column and row displayed..and also keep track of current first column and row.when ever page up is pressed(in VScrollBar) set the current last row as first current row of the grid.similar for the HScrollbarThank you
18 Feb 2014 by Bhuvanesh Mohankumar
I am facing a issue while assigning the DataKeyNames to a grid.This assignment...
6 Apr 2016 by BishnuKarki
I have this code@(Html.Kendo().Grid().Name("Employees").Columns(c =>{ c.Bound(e => e.EmployeeId).Template(@ @{ } ).Title("Select").Width(70); ...
20 Aug 2011 by Cactus2001
I have added panel to my page. Within which I have added a UltraWebGrid. This UltraWebGrid has 22 columns, so it doesn't fit inside the panel. I added a horizontal scrollbar but it is not working. It is still going out of the panel. I have set the width of the panel(550px) and also that of the...
12 Jun 2021 by Chill Bro
Thanks Richard. I was having the same problem and that article helped. Essentially, this is a pretty minimal generic setup.
26 Jan 2010 by Christian Graus
Gauraav wrote:Hi Mr.Prasad Khandekar,I have facing a problem while using this datagrid.If you're talking to someone who answered you here before, you'd do better to edit your original post, so that people can see the context. If you're responding to an article, then you should use the...
24 Apr 2019 by Christian Graus
I assume the datasourcerequest contains these things, and you just need to read the manual, and put them on the URL? In 2019, being able to google is a vital skill for any dev Data-Binding Directives - Grid - Kendo UI for Angular[^]
26 Sep 2013 by CPallini
Since anyway no human could ever see all the 17 million records of the GridView, why don't you load (and handle) the records in smaller chunks?
3 Jan 2023 by daniel wakeley
Hi I'm just a bit confused about Columns and Rows in CSS Grid. I've watched a lot of videos and read some articles but some of the definitions that I get don't match up with what I've been learning and what I can see. I'll explain. So we have...
30 Jan 2017 by Darren G441
How to build a matrix display to represent a many-to-many entity relationship
24 Jun 2020 by Dave Kreskowiak
I'd forget using this library. The vendor seems to be out of business, so support for it is going to be non-existent.
14 May 2010 by DaveAuld
You have basically written the rules above.You want a matrix of cells, you will need to know what cell you have selected, and then analyze the cells around for valid moves.Nobody will just write code for you, you will need to start yourself and when get stuck on a problem come back and...
23 Apr 2013 by db7uk
Have you tried AJAX based CRUD tables using ASP.NET MVC 3 and jTable jQuery plug-in[^]There are others but that is the one I have used. Problem is, it looks like Infragistics / Telerik companies do the best ones but they are pay for controls....
4 Mar 2013 by dedo1991
Dear programming community,I am using code first migrations and i am trying to figure out how i can retrieve data from "Many-to-one" relationships. In other words i have a Doctor where one doctor can belong to many wards but ward can have only one doctor at a time.My objective is to...
10 Jul 2013 by Deenuji
u try the following link Clicke Here[^]Clicke Here[^]
18 Oct 2013 by Deenuji
my gridview look like this:http://s21.postimg.org/q66a19s5j/image.jpgwhen click the edit button it pass value into above textbox(i show in my grid image)...After i click modify button gridview showing update value in gridvie:After editing gridview will be like...
19 May 2012 by Deepak_Sharma_
hi,refer to this forum:social.msdn.microsoft.com/Forums/en/wpf/thread/74332b78-6bfd-4ac9-af85-dfd9bec87a29
13 May 2016 by Dennis1990
Hi codeproject friends,right now im trying to get the state of an checkbox inside of a grid.the checkbox will contorl the visibility of another dialog.i will transfer it in a bool vector.so how can i get the current state?The Cell-funktions tutorial didnt gave me the right answer,...
13 May 2016 by Dennis1990
OnCellTypeNotify(long ID, int col,long row, long msg, LONG_PTR param);msg == 53 if status changedparam == true if checked, == false if unchecked.
13 May 2016 by Dennis1990
for changing the (initial painted) state of an checkbox inside of a cell,you have to change the property withcell.SetNumber(1);-->checked, 0 = uncheckedunfortunately its not written down in the doku of the Ultimate Grid Control
25 Jul 2018 by Dirk Bahle
Your best option is probably to use a Blend Behavior which is not to complex c# - How to add a Blend Behavior in a Style Setter - Stack Overflow[^]. More advanced users can use their own custom WPF Behaviors, which typically translates a certain event (eg. mouse click) into an invocation of a...
20 Feb 2024 by DosNecro
I'm currently working on a grid-based game in C where I have roads represented by dots ('.') and a player represented by 'P'. The goal is for the player to reach the destination ('G'). However, I'm facing a challenge in keeping the roads visible...
30 Mar 2024 by DosNecro
/* Rasal Amarasurya */ /* 21304178 */ #include #include #include /* For malloc, free */ #include "game.h" /* Include the game header */ void initializeGame(char **grid, int rows, int cols, FILE *file, int...
28 Jan 2013 by dsagner
I have a table that look like this: CREATE TABLE [dbo].[Table]( [IDRow] [int] NOT NULL, [Revision] [int] NOT NULL, [EntryDate] [datetime] NULL, [UserID] [int] NULL, [Title] [nvarchar](100) NULL, [TypeID] [nvarchar](10) NULL, [Tags] [nvarchar](max) NULL, [PriorityID]...
14 May 2012 by Elan.Cao
Such as get the object sure in Row one and Colum one.
4 Sep 2014 by Emiliarge
A JavaFX/Swing NetBeans 8.0 Project with JFrame created by NetBeans's GUI Builder
12 Jun 2012 by Emzari
You must explain what exactly you need. Information provided by you is not enough to help you.
8 Dec 2013 by enhzflep
When you set the width and height of the canvas using the css, it changes the size that the canvas will be displayed at. It does not however, change the number of pixels that the canvas will contain. The default size for a canvas (only tested with 1 machine/os/browser - win7 Chrome) is...
29 Jul 2013 by Er Bhargav Dudani
Hii FriendsI am using Grid view to show data to user n my pageIn grid page I have one search box when I try to bind data of searching then it not bind that data it bind all data. my code is as below any one please tell me what I am doing rongpublic void gridbind() { ...
24 Apr 2014 by ernest_hemingway077
Hello,I want to display a combobox of the Operants in the array in the ProperyGid view:Here is My Code:My Property Classusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.ComponentModel;namespace AA{ public class...
15 May 2014 by ernest_hemingway077
I Used a enum Type Conveter class
2 May 2016 by F-ES Sitecore
Part 1: Overview and File->New Project | The ASP.NET Site[^]
17 May 2020 by Faisal_Khan_92
I want to use Radio Button list to select yes/ no in my project but unable to implement it as i did not find it on obout.com. below code i have tried:
17 Jun 2015 by faisalsaeed62
Please help me, how to add async false to the below code?var grd = $('#abc').data().kendoGrid; grd.dataSource.transport.options.read.url = "/uvw/xyz";
2 May 2016 by Fajeje
I am really new in ASP.Net MVC 4.I need to Display columns and their data in a grid -or webgrid or what- in a page of web application. I should implement the application by Asp.net MVC 4, Visual Studio 2012.Any help or source to guide me?Env.SQL server 2012Visual Studio 2012
19 May 2012 by fct2004
The row and column properties for a WPF Grid are really attached dependency properties. So, certain static methods must be included inorder for those properties to be usable in XAML. You only need to loop through the children of the Grid to make sure you're going through the objects in the grid,...
11 Jan 2011 by fjdiewornncalwe
You may wish to post this question to The Telerik Forums. By posting there your question will be focused to the users who actually use the controls.A quick search on that site for "GridButtonColumn ItemCommand" resulted in 232 results. Check them out.Cheers.
8 Dec 2013 by footballpardeep
I am creating a grid of circles but it not giving me exact grid that i want. distance between [0,0]--[0,100] and [0,0]--[100,0] is different.$(document).ready(function () { var canvas = document.getElementById("mainCanvas"); var context = canvas.getContext("2d"); var...
18 Jan 2013 by frecaco78
I have a grid base on Telerik MVC extensions using batch edit, but I don't know how create the Repository base on a table of my database instead of the class used in the example named EditableProduct. There are the example based on EditableProduct from Telerik Demos...
21 Apr 2017 by gani7787
Unable to set property 'className' of undefined or null reference. When i click the selected row in a grid i am getting the following error. It should fire gridview_selectedIndexChanged() event. but it will not fire anything. rather than it will shoe the below error. Error : JavaScript...