What the hell do I need a grid control for?
-
Andreas Saurwein wrote: Any program like this could also embed a Excel worksheet, just in case you need more functionality. That assumes that your user has a lisence for Excel. -Nick Parker
Nick Parker wrote: That assumes that your user has a lisence for Excel. :eek: What? Dont tell me you dont deliver a MS Office 12 licence with your product. :cool:
Off to in ~69 days
-
Nick Parker wrote: That assumes that your user has a lisence for Excel. :eek: What? Dont tell me you dont deliver a MS Office 12 licence with your product. :cool:
Off to in ~69 days
Andreas Saurwein wrote: What? Dont tell me you dont deliver a MS Office 12 licence with your product. It's just the idea. ;) -Nick Parker
-
Ok, now it really makes more sense :) While I agree on your view of "generating forms programatically", I dont think that a grid control is yet the right choice for implementing it. (Probably I am only a listview control freak) In most cases I find it more complicated to eliminate unwanted features from a grid, than adding new features to a list control. Yes, I did try using a grid a few times, only once a grid actually made it into one of my applications and then only as a optional control in a form designer.
Off to in ~69 days
I agree with you Andreas on that one! the LISTVIEW control is an excellent control. And no you are not the only listview control freak! ;P ÿFor the bread of God is he who comes down from heaven and gives life to the world. - John 6:33
-
Peter Zajac wrote: 1. ease of use :omg: Any grid that I have seen so far makes it pretty difficult to use compared with a list/listview control. Naturally, because it adds a lot of functionality too. Peter Zajac wrote: 2. ease of customization on cell level. Often people want to add some display flexibility to your data (color, font, celltypes, etc.). X| When this is really, really, needed then it can be done really, really easily with the standard windows controls too. Peter Zajac wrote: 3. ability to display real time data. Ever heard of the "virtual" listview data? Peter Zajac wrote: 4. foot print. Standard windows controls: 0k Peter Zajac wrote: 5. performance. In many cases people need to show a data result that is 100's of thousands of rows, the a list view can be used for this but it is much simpler and faster to use a third party grid control that already has support for what you need. No grid control can possibly ever be faster than a normal list/listview control. And done right, a virtual listview control can show millions of records without any timing problems. So I rather keep that $500. :)
Off to in ~69 days
It is true that you could spend the time to make as many modifications to the listview control as you like. But the main point here is 'time'. With a full grid control all of the hard work has already been done. For example: How much time would it take you to add a masked edit field to a column within a listview? With a grid such as Ultimate Grid, it is a single line of code. Now, I am not saying that there is not a place for a listview control, but if you do need more capabilities than just showing a simple list then a grid control is much more cost effective.
-
It is true that you could spend the time to make as many modifications to the listview control as you like. But the main point here is 'time'. With a full grid control all of the hard work has already been done. For example: How much time would it take you to add a masked edit field to a column within a listview? With a grid such as Ultimate Grid, it is a single line of code. Now, I am not saying that there is not a place for a listview control, but if you do need more capabilities than just showing a simple list then a grid control is much more cost effective.
Troy Marchand wrote: For example: How much time would it take you to add a masked edit field to a column within a listview? With a grid such as Ultimate Grid, it is a single line of code. With the listview I have put together during the last years, its two lines of code and you get whatever control you want there. And I had my share of the Ultimate Grid already, thanks. And I am sure that in the last 4 years there where not enough changes to make it a 1 liner. Anyway, for anyone that really requires a grid it is probably still the best choice.
Off to in ~69 days
-
A grid control or a listview control? Does your data require editing cells of the data? If so, a grid is appropriate, otherwise a listview control will do.
Off to in ~69 days
Andreas Saurwein wrote: A grid control or a listview control? Does your data require editing cells of the data? YES ""
-
Looking at the most popular items on CP, I really must wonder what someone needs a grid control for? Since Windows 3.0 I am doing GUI programming and I never ever needed a grid control. Are there really so many people writing Excel clones?
Off to in ~69 days
Last year I made a quick prototype App using the "Maunder" grid control for the first time. The Grid Control after some mangling was the best approach for the APP. In my opinion. The Grid was used to design a Pseudo-map graphically of a land area to show the land usage. Each of the Cells was able to not only contain a color and an Icon / Flag but also more detailed information, for when the user selected a cell. Since then I've had no use for the grid control. Regardz Colin J Davies
Sonork ID 100.9197:Colin
Warning Link to the minion's animation, do not use. It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox
-
Looking at the most popular items on CP, I really must wonder what someone needs a grid control for? Since Windows 3.0 I am doing GUI programming and I never ever needed a grid control. Are there really so many people writing Excel clones?
Off to in ~69 days
I wrote a little utility that uses a grid control: http://www.sagara.org/ce03.jpg[^] IMHO, this looks much nicer than would a hacked-up list control that tries to accomplish the same thing.
Jon Sagara
You know the world is off tilt, when the best rapper is a white guy, the best golfer is a black guy, the tallest basketball player is Chinese, and Germany doesn't want to go to war. -- Charles Barkley
-
I agree with you Andreas on that one! the LISTVIEW control is an excellent control. And no you are not the only listview control freak! ;P ÿFor the bread of God is he who comes down from heaven and gives life to the world. - John 6:33
Ernest Laurentin wrote: And no you are not the only listview control freak! Thanks. What a relief :)
Off to in ~69 days
-
Looking at the most popular items on CP, I really must wonder what someone needs a grid control for? Since Windows 3.0 I am doing GUI programming and I never ever needed a grid control. Are there really so many people writing Excel clones?
Off to in ~69 days