Questions tagged [gridview]

A Gridview is a control for displaying and manipulating data from a variety of data sources.

A Gridview is a control for displaying and manipulating data from different data sources. It shows data from a variety of data sources in a tabular format.

26809 questions
3
votes
1 answer

Grouping an Ext JS 4.0.2a Grid on a Column that Contains a null value

I have a model called 'Students' where one of the fields 'Team' is defined as: { name: 'team', type: 'int', useNull: true } Now I want to group on this field using: Ext.getStore('Students').group('team'); And it's throwing this error…
Cain
  • 181
  • 1
  • 1
  • 7
3
votes
2 answers

Sorting a Gridview using Datatable

I have a gridview which I want to sort when any of its column header is clicked. There is a DataTable that is built on runtime and assigned to the gridview to populate data. Here is the DataTable and Gridview: DataTable dtMedication = new…
asma
  • 2,795
  • 13
  • 60
  • 87
3
votes
3 answers

Sorting a ADO.NET Datatable

I have a datatable in C#. DataTable dtClientMedications = new…
asma
  • 2,795
  • 13
  • 60
  • 87
3
votes
2 answers

DropDownList in GridView asp.net

I want to add a dropdownlist to every entry in a gridview.
cgval
  • 1,096
  • 5
  • 14
  • 31
3
votes
1 answer

How do I reset sorting for a GridView?

I have a GridView connected to an ObjectDataSource which does the sorting/paging in codebehind. Currently if I choose to sort after some column, change search parameters and then click the Search button, the GridView is still sorted after the column…
Răzvan Flavius Panda
  • 21,730
  • 17
  • 111
  • 169
3
votes
3 answers

Animate GridView Children

I was wondering if there is a way that I can animate my GridView's Children to their new positions. So, for example, slide in from the left and when at the end of a row, slide off to the right. This will give the effect of each child moving to its…
Mimminito
  • 2,803
  • 3
  • 21
  • 27
3
votes
0 answers

How to stop GridView Builder refreshing the widget in Flutter

I am trying to get rid of this blinking/flashing of the widget presented in the image below. This is an Alert Dialog opened. Below it's a GridView Builder which creates images. The images are refreshing when I am trying to drag and resize the height…
Roland Iordache
  • 325
  • 4
  • 20
3
votes
4 answers

Get GridView Row

I have a GridView which I bind to a SqlDataReader on Page_Load. It has a column with buttons and I am trying to get the row when a button is clicked with the following code: int index = Convert.ToInt32(e.CommandArgument); GridViewRow row =…
pikk
  • 837
  • 5
  • 21
  • 38
3
votes
3 answers

How do I convert a BoundField to a HyperLinkField?

I have a GridView (gv) bound to a dataset (ds). Columns[1] is bound to a field in ds named orderFilename; Columns[6] is a date field. If Columns[6] is null, I want Columns[1] to appear as text; if Columns[6] is not null, I want Columns[1] to…
3
votes
1 answer

Dynamic GridView AllowPaging returns error on DataBind

I've added a GridView to a PlaceHolder on my web page, and am setting it's datasource to a linq query. The trouble is that when control runs though gv.DataBind(); it'll blast on my face returning an Object not set bla bla bla error. The stack trace…
Ricardo Appleton
  • 679
  • 10
  • 22
3
votes
1 answer

WPF GridViewColumn's DisplayMemberBinding using a Dictionary Key's Value

I haven't found anything similiar to this on Stack or Google, so maybe it isnt' possible, but hopefully someone smart will have an idea. I'm a bit of a noobie to WPF/XAML. I have a custom class that resembles something similiar to this. public…
scottheckel
  • 9,106
  • 1
  • 35
  • 47
3
votes
3 answers

Accessing the data or dataItem used to bind a gridview

I have a gridview for which I programmatically set the datasource and databind it to a collection of objects. For each row that is created I then use different methods in the fields to extract the relevant information from the object like this…
Teletha
  • 603
  • 1
  • 11
  • 21
3
votes
3 answers

ASP.NET Add HTML To Gridview header Text

I.e. im wondering how i can achieve something like DiscountPLC In declaring a gridview columns such as
StevieB
  • 6,263
  • 38
  • 108
  • 193
3
votes
1 answer

Cant get value of cell on gridview nested in formview

I have a formview and a nested gridview where i would like to be able to select the value of a specific cell when the row has been updated. I took the example code from the msdn site as it's close to what i want: protected void…
Will
  • 31
  • 2
3
votes
2 answers

Custom Menu / Context Menu Mouse Over or Right Click

I currently have an ASP.NET GridView that displays a few columns to the user with one of them being a link to view the details for the specific record. From the details page, the user has the ability to access other pages for adding new records…
RSolberg
  • 26,821
  • 23
  • 116
  • 160
1 2 3
99
100