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
46
votes
5 answers

ASP.NET Grid View vs. List View

What are the advantages of using listview over gridview? I need pagination, editing rows, inserting rows, and deleting rows in my view. Which control is best for that? It seems like GridView does not support data pager. What would I sacrifice if…
Mugunth
  • 14,461
  • 15
  • 66
  • 94
45
votes
7 answers

Adjust GridView child height according to the dynamic content in flutter

How to implement this complex view in the flutter? I am trying to implement a GridView with n columns and the child should be of a certain aspect ratio(say 1.3) but the height of the child should be (wrap content in Android terminology). I am stuck…
Vipul Asri
  • 8,903
  • 3
  • 46
  • 71
45
votes
16 answers

Space between components in React Native styling

I have 6 View components (shown in the picture) , I want to have space between all 6 View components. My code:
Behdad
  • 1,459
  • 3
  • 24
  • 36
43
votes
2 answers

Nested scrollview automatically scrolls to bottom

I have a GridView within a NestedScrollView. I have used the code below to resize the GridView whenever the content of the GridView is changed. This works fine, however the NestedScrollView scrolls to the very bottom when I swipe from fragment 3 of…
42
votes
7 answers

How can I export a GridView.DataSource to a datatable or dataset?

How can I export GridView.DataSource to datatable or dataset?
Penguen
  • 16,836
  • 42
  • 130
  • 205
42
votes
7 answers

Flutter GridView is not scrolling

I am adding a header in the grid view. The header is scrolling but when touching grid view. It is not scrolling. I want to scroll header and gridview. I have used SingleChildScrollView and Expanded. How to solve the please help me. My code is shown…
Joe
  • 959
  • 2
  • 11
  • 27
41
votes
4 answers

Twitter Bootstrap and ASP.NET GridView

I am having aproblem using Twitter Bootstrap from my ASP.NET application. When I use the table table-striped css class to my asp:GridView control, it treats the Header of the table as a Row. My GridView ASP.NET MarkUp
John Isaiah Carmona
  • 5,260
  • 10
  • 45
  • 79
39
votes
9 answers

How to hide a TemplateField column in a GridView

How can I hide a TemplateField column in a GridView? I tried the following: but…
Homam
  • 23,263
  • 32
  • 111
  • 187
39
votes
3 answers

LayoutManager for RecyclerView Grid with different cell width

StaggeredGridLayoutManager doesn't seem to allow customising a cell width or span multiple columns (except full span) for vertical orientation. What is a preferred LayoutManager for organising cells as shown above? P.S. I just want to know how to…
random
  • 10,238
  • 8
  • 57
  • 101
38
votes
8 answers

WPF : Extend last column of ListView's GridView

I have a ListView with a GridView with 3 columns. I want last column to take up remaining width of the ListView.
THX-1138
  • 21,316
  • 26
  • 96
  • 160
38
votes
8 answers

Full postback triggered by LinkButton inside GridView inside UpdatePanel

I have a GridView inside of a UpdatePanel. In a template field is a button I use for marking items. Functionally, this works fine, but the button always triggers a full page postback instead of a partial postback. How do I get the button to trigger…
Kevin Albrecht
  • 6,974
  • 7
  • 44
  • 56
38
votes
2 answers

How to disable GridView scrolling in Android?

I'm using a GridView for a game board. Recently some users have had problems with the board scrolling vertically (on Samsung Galaxy / Vibrant phones running 2.2) -- This bug does not occur on my Nexus One. One user produced some screenshots of the…
pjama
  • 3,014
  • 3
  • 26
  • 27
38
votes
14 answers

How to add a "confirm delete" option in ASP.Net Gridview?

How to add a "confirm delete" option in ASP.Net Gridview ?
Mohamed Kamal
  • 2,377
  • 5
  • 32
  • 47
36
votes
4 answers

GridView inside Expandable list in android

I want to put an gridview with images inside an expandable list...I've already make that, but the gridview don't show all item... How can i make my expandable list child adapt to the gridview size? LIST ADAPTER public class CustomListAdapter extends…
Zasuk
  • 750
  • 1
  • 7
  • 14
36
votes
10 answers

How to set different columns for rows in android gridview

I want to have a gridview similar to this Every odd numbered row will have two images of big size and even numbered rows will have four smaller images.How can I achieve this?
mungaih pk
  • 1,809
  • 8
  • 31
  • 57