What the hell do I need a grid control for?
-
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
-
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
-
u HAFTA use it...chris CODED it if u dontuse it...then he doesnt have to update it and if he doesnt update it...more hampsters get interferred with :) Bryce
Uhm, I didnt want to complain about Chris's control, which is a really nice piece of code. Just where to use it escapes me. bryce wrote: and if he doesnt update it...more hampsters get interferred with never liked them anyway :suss:
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
How would I code Desktop Bob[^] without a grid?
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
-
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
Andreas Saurwein wrote: 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? There tend to be a lot of custom financial software packages out there, however about any program that does a search and displays a list could use something like this. -Nick Parker
-
How would I code Desktop Bob[^] without a grid?
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
By using a listview control as you did? :confused: A grid is not to confuse with a listview control, although they may look similar.
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
You can't imagine how many times I've had to use an editable grid. The grid control has saved my life!!!! 1.- Matrix entry dialog for a custom road traffic management program. 2.- List of parameters and results for a DOS execution manager. 3.- Editable songs list manager. 4.- etc... Regards Francisco Viella Silver at last!!
-
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
Andreas Saurwein wrote: I really must wonder what someone needs a grid control for? I am in software developement for structural engineering. Almost all of the root data is in table form of some type and many of the result displays are in tabular listings. The Grid control is perfect for it. ""
-
Andreas Saurwein wrote: I really must wonder what someone needs a grid control for? I am in software developement for structural engineering. Almost all of the root data is in table form of some type and many of the result displays are in tabular listings. The Grid control is perfect for it. ""
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
-
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
Every application I've written for my clients requires some sort of a list control. I've never implemented a full grid control with row color capability, etc., but I've come close, and one of my clients recently asked if I could color backordered items differently from received items. A list control (in detail mode, the only mode I use), is a necessity for displaying, ummm, a list. Purchases, dancers, boats, work orders, bill acceptor transactions, customer info, etc. Marc Help! I'm an AI running around in someone's f*cked up universe simulator.
Sensitivity and ethnic diversity means celebrating difference, not hiding from it. - Christian Graus
Every line of code is a liability - Taka Muraoka
Microsoft deliberately adds arbitrary layers of complexity to make it difficult to deliver Windows features on non-Windows platforms--Microsoft's "Halloween files" -
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
In the application I designed, there are many DataGrids. Granted, the Industrial Engineers that have written most the UI for Industrial Engineers went a little overboard on DataSets and DataGrids. The ones that should be there, however, are ones that require a lot of tabular data input or show tabular data output. There are a lot of places where a ListView would work better / look better, but what do I know. I've only been writing commercial software for 15 years and they just start coding C# last summer! The point is that they are probably overused but there is a purpose from time to time, especially for in-house or throw-away applications that need to display data quickly and easily. For commercial software, however, I believe their use should be limited.
Reminiscent of my younger years... 10 LOAD "SCISSORS" 20 RUN
-
Every application I've written for my clients requires some sort of a list control. I've never implemented a full grid control with row color capability, etc., but I've come close, and one of my clients recently asked if I could color backordered items differently from received items. A list control (in detail mode, the only mode I use), is a necessity for displaying, ummm, a list. Purchases, dancers, boats, work orders, bill acceptor transactions, customer info, etc. Marc Help! I'm an AI running around in someone's f*cked up universe simulator.
Sensitivity and ethnic diversity means celebrating difference, not hiding from it. - Christian Graus
Every line of code is a liability - Taka Muraoka
Microsoft deliberately adds arbitrary layers of complexity to make it difficult to deliver Windows features on non-Windows platforms--Microsoft's "Halloween files"Marc Clifton wrote: A list control (in detail mode, the only mode I use), is a necessity for displaying, ummm, a list. Purchases, dancers, boats, work orders, bill acceptor transactions, customer info, etc. Thats my point about it: almost any application can do nicely with a simple listview control. No need to use a bloat[^]ed grid.
Off to in ~69 days
-
In the application I designed, there are many DataGrids. Granted, the Industrial Engineers that have written most the UI for Industrial Engineers went a little overboard on DataSets and DataGrids. The ones that should be there, however, are ones that require a lot of tabular data input or show tabular data output. There are a lot of places where a ListView would work better / look better, but what do I know. I've only been writing commercial software for 15 years and they just start coding C# last summer! The point is that they are probably overused but there is a purpose from time to time, especially for in-house or throw-away applications that need to display data quickly and easily. For commercial software, however, I believe their use should be limited.
Reminiscent of my younger years... 10 LOAD "SCISSORS" 20 RUN
Tabular data input is a valid argument. Probably the only one.
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
I've had a cute idea for our app, with majore reuse of Chris' Grid. (The idea got sacked, though) A flexible grid would be the ultimate base for customized "Property Editors". A flexible grid could replace our ugly List Control hack to display tables A grid would be the "tool of choice" for managing task/data lists of any kind, allowing customized data display, easy in-place editing, etc. But I must admit I've come across quite some "cool ways to use a good grid", but never really used one. A grid is a grid is a grid.
Italian is a beautiful language. amare means to love, and amara bitter.
sighist | Agile Programming | doxygen -
Andreas Saurwein wrote: 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? There tend to be a lot of custom financial software packages out there, however about any program that does a search and displays a list could use something like this. -Nick Parker
Nick Parker wrote: about any program that does a search and displays a list could use something like this Any program like this could also embed a Excel worksheet, just in case you need more functionality. :omg:
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
I haven't in a while, but in my last job, the UI of one program had tabulated input and output. A grid worked nicely there. And don't even go mentioning embedding Excel... who knows if they even will have it installed, let alone what version, etc., etc. "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein
-
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
Well, to be honest, you can get a long way with something like the standard windows listview control (or similar), or with custom or automatically generated forms. But the beauty of (most) grid controls lies in their ability to standardize behavior where it would otherwise be very difficult to do so - also the beauty of Excel, IMHO. It's not so much the app is an Excel clone, it's that the app needs part of itself written as an Excel app (i use app rather than spreadsheet here, as spreadsheets are only a bit of what Excel can be and is used for). and please, no-body mention embedding Excel in your app as an alternate solution... X| Or, if you'd rather, a grid control could be thought of as a tool for generating custom forms on the fly, constrained to a more limited than usual set of rules for layout and behavior, but in return getting improved consistency in the UI. ---
But, oh god / Under the weight of life / Things seem / Brighter on the other side - David Matthews, Big Eyed Fish
-
By using a listview control as you did? :confused: A grid is not to confuse with a listview control, although they may look similar.
Off to in ~69 days
Andreas Saurwein wrote: A grid is not to confuse with a listview control, although they may look similar. I thought you were talking on a higher level, about a grid functionality...
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
-
Well, to be honest, you can get a long way with something like the standard windows listview control (or similar), or with custom or automatically generated forms. But the beauty of (most) grid controls lies in their ability to standardize behavior where it would otherwise be very difficult to do so - also the beauty of Excel, IMHO. It's not so much the app is an Excel clone, it's that the app needs part of itself written as an Excel app (i use app rather than spreadsheet here, as spreadsheets are only a bit of what Excel can be and is used for). and please, no-body mention embedding Excel in your app as an alternate solution... X| Or, if you'd rather, a grid control could be thought of as a tool for generating custom forms on the fly, constrained to a more limited than usual set of rules for layout and behavior, but in return getting improved consistency in the UI. ---
But, oh god / Under the weight of life / Things seem / Brighter on the other side - David Matthews, Big Eyed Fish
I think I lost you... Shog9 wrote: But the beauty of (most) grid controls lies in their ability to standardize behavior where it would otherwise be very difficult to do so How does a grid standardize behaviour? Shog9 wrote: a grid control could be thought of as a tool for generating custom forms on the fly Could you explain that for grid-dummies? :omg: :~
Off to in ~69 days
-
Andreas Saurwein wrote: A grid is not to confuse with a listview control, although they may look similar. I thought you were talking on a higher level, about a grid functionality...
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
No, really specific about "the grid control", whatever brand - Maunder, Dundas, roll-your-own, etc.
Off to in ~69 days