Does Devexpress GridControl for win forms support paging? If yes, how does it work? How can i use paging to show some data in a grid control? Any example would be appreciated
It doesn't support paging, per se, it loads the records as needed when running in servermode if I remember correctly.
I dont actually think the WinForms version of the grid does support paging. The ASP.NET version of the grid does support it - I've been using it a lot lately.
Someone has asked the question on the DevExpress support centre. It doesnt look like they are going to be implementing 'out of the box' paging on WinForms. It looks like you are going to have to write your own.
Well the paging is not supported by DevExpress XtraGrid.
You will find at the following page some hints given by DevExpress Staffs to implement your own paging.
Related
I have been looking for a couple of days for a UWP control that has similar functionality as the WPF ListView, which allows me to create a table like appearance.
Is there a control like this in the UWP or not?
What I want to achieve is a SCRUM and Kanban overview for Jira Software. Maybe there are better options.
Microsoft has created an add-on control that fits this use case nicely, the DataGrid control from their community toolkit.
More details: https://learn.microsoft.com/en-us/windows/communitytoolkit/controls/datagrid
It supports sorting, filtering, grouping, and can even generate columns automatically from supplied data.
There is a control such as that and it is called listview.
https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.listview.aspx
Maybe you could use GridView as well, there is a nice short tutorial on:
https://channel9.msdn.com/Series/Windows-10-development-for-absolute-beginners/UWP-040-Data-Binding-to-the-GridView-and-ListView-Controls
I need to implement an editable datagrid which allows to get and edit data from single table and joined tables as well. I use SQL Sqerver 2008 db and Linq to SQL.
Shall I use a ASP.NET GridView control or may be go for Silverlight? Are there any jQuery + AJAX frameworks for it?
What approach would you recommend?
Thank you.
Any one of the items you listed will work. Your question needs some more description as to what you want to accomplish.
If you want to accomplish an interactive grid that has flash like apperance then use Silverlight or depending on how interactive Jquery, if you want to have seamless integration with your database and no page reloads occur then use Jquery / AJAX. The ASP.Net gridview alone will be your most limiting as it will create a page refresh but it will work great if your just showing the user their data and need them to update it accordingly.
I would recommend using Jquery / Ajax as I like the non refreshing and no page reloads jquery has to offer.
There are quite a few ways to achieve this, including Robert's solution of implementing an editing solution using jQuery.
If you're prepared to use a third party solution, Telerik make a particularly good set of controls for ASP.NET and AJAX, one of which is a grid.
Here's an example of one of their grid controls. There's support for joining tables and edit on click.
There are many others on this page which would achieve the desired result.
I am writing a WPF application in C# that needs to display data in a spreadsheet-like format dynamically. What is the best way to go about this?
The application will be getting data outputted from a fire alarm panel, chopping it up, and then displaying it in a neat table (or at least that's the plan).
Why not use WPF's Datagrid control? It should have all the functionality you need for the requirements you posted, more info here
http://www.wpftutorial.net/DataGrid.html
If you are using .Net 3.5, then please download WPF Toolkit and install to your VS 2008.
If you are using .Net 4.0, you can use the build in DataGrid control which you can select from the toolbox.
i think you might try to use using. Graham Knight is developing a lightweight, high performance data grid for WPF. This data grid, known as WPF Table View, is available on CodePlex under the Microsoft Public License.
It's able to view 100,000+ rows of data with dynamically defined columns and column data templates, as soon as I threw this at the data grid the user experience began to suffer.
http://tableview.codeplex.com/
Does anyone know of a good listview component other than the one included with Visual Studio (as it looks kinda boring)?
Devexpress are good too. http://devexpress.com
(Quick edit missed the Winforms bit). For Winforms controls, I'd recommend Telerik.
If you want to modify the look of your form and controls try DotNetSkin. You can modify controls from existing windows themes or your own controls by modifying it.
If you want a free ListView, you should try ObjectListView, it has a LOT of features.
You better be careful about the license if you want to use it in a commercial product though. See these answers for more information about the license: here and there.
You may try Better ListView.
It has native look and feel. It also supports many nice features, like hierarchical items, multi-column sorting, data binding, three-state check boxes... the list goes on :-)
It is not a ListView wrapper, but self-contained control so it fixes all inherent flaws of .NET ListView (these are enumerated on ComponentOwl's website).
Take into account the 10Tec iGrid control:
Its main features are:
Multi-column sorting with indication in column headers.
Grouping and autofilter are also available.
"Subitems" (cells) can be edited.
Rows can have different heights.
Rows/cells can be formatted dynamically easily.
Built-in incremental search.
TreeListView mode.
No flickering and fast work with 100'000+ rows.
To find out more, start from reading this article:
Editable ListView Replacement
See also other cross-referenced articles on the site.
I need to present the output on the form in rows and columns. Is there a control to make that task easier? I am using visual studio 2010 and coding in C#.
You're looking for DataGridView.
Which looks like so (don't worry, the colors are fully configurable (;):
And has many advances capabilities such as DataBinding and paging.
Here's a tutorial to get you started.
Though you asked about WinForms, if you use WPF, in WFP 4.0 (.NET 4) there's a DataGrid that you can use. It's quite flexible.