We're looking to replace DataGridView in our Winforms app. What are the alternatives - commercial or otherwise - that we ought to evaluate?
Yes a ListView looks nicer than a DataGrid, but a Datagrid is better because it has more functionality (out of the box that is). With a ListView you cannot: Copy and paste - although you can select a row of data in both controls, you can't copy and paste a whole row from the ListView.
The DataGrid and the GridView controls have different event models. The DataGrid control raises single events for operations, while the GridView control is capable of both pre-operation and post-operation events. The GridView control supports the Sorting event that occurs when a field is sorted.
The DataGrid control is limited to displaying data from an external data source. The DataGridView control, however, can display unbound data stored in the control, data from a bound data source, or bound and unbound data together.
It has a trial version. It costs $499 for 1 dev.
Replacing the Grid is usually not fun...
You could try:
But first - evaluate your needs, see why the GridView is not giving you the desired results & then do a through technical analysis on these commercial products before making any changes to your code.
Also as a side-note: don't directly use the vendor code & namespaces into your code, perhaps DI would be a better mechanism to abstract via a IGridView interface...
HTH.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With