Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What the hell do I need a grid control for?

What the hell do I need a grid control for?

Scheduled Pinned Locked Moved The Lounge
cssquestion
45 Posts 22 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andreas Saurwein
    wrote on last edited by
    #1

    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

    B D N F M 17 Replies Last reply
    0
    • A Andreas Saurwein

      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

      B Offline
      B Offline
      bryce
      wrote on last edited by
      #2

      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

      A 1 Reply Last reply
      0
      • B bryce

        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

        A Offline
        A Offline
        Andreas Saurwein
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • A Andreas Saurwein

          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

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #4

          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)

          A J 2 Replies Last reply
          0
          • A Andreas Saurwein

            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

            N Offline
            N Offline
            Nick Parker
            wrote on last edited by
            #5

            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

            A 1 Reply Last reply
            0
            • D Daniel Turini

              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)

              A Offline
              A Offline
              Andreas Saurwein
              wrote on last edited by
              #6

              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

              D 1 Reply Last reply
              0
              • A Andreas Saurwein

                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

                F Offline
                F Offline
                Francisco Viella
                wrote on last edited by
                #7

                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!!

                1 Reply Last reply
                0
                • A Andreas Saurwein

                  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

                  M Offline
                  M Offline
                  Michael A Barnhart
                  wrote on last edited by
                  #8

                  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 1 Reply Last reply
                  0
                  • M Michael A Barnhart

                    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 Offline
                    A Offline
                    Andreas Saurwein
                    wrote on last edited by
                    #9

                    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

                    M 1 Reply Last reply
                    0
                    • A Andreas Saurwein

                      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

                      M Offline
                      M Offline
                      Marc Clifton
                      wrote on last edited by
                      #10

                      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"

                      A 1 Reply Last reply
                      0
                      • A Andreas Saurwein

                        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

                        H Offline
                        H Offline
                        Heath Stewart
                        wrote on last edited by
                        #11

                        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

                        A 1 Reply Last reply
                        0
                        • M Marc Clifton

                          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"

                          A Offline
                          A Offline
                          Andreas Saurwein
                          wrote on last edited by
                          #12

                          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

                          1 Reply Last reply
                          0
                          • H Heath Stewart

                            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

                            A Offline
                            A Offline
                            Andreas Saurwein
                            wrote on last edited by
                            #13

                            Tabular data input is a valid argument. Probably the only one.


                            Off to in ~69 days

                            1 Reply Last reply
                            0
                            • A Andreas Saurwein

                              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

                              P Offline
                              P Offline
                              peterchen
                              wrote on last edited by
                              #14

                              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

                              1 Reply Last reply
                              0
                              • N Nick Parker

                                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

                                A Offline
                                A Offline
                                Andreas Saurwein
                                wrote on last edited by
                                #15

                                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

                                N 1 Reply Last reply
                                0
                                • A Andreas Saurwein

                                  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

                                  N Offline
                                  N Offline
                                  Navin
                                  wrote on last edited by
                                  #16

                                  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

                                  1 Reply Last reply
                                  0
                                  • A Andreas Saurwein

                                    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

                                    S Offline
                                    S Offline
                                    Shog9 0
                                    wrote on last edited by
                                    #17

                                    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

                                    A 1 Reply Last reply
                                    0
                                    • A Andreas Saurwein

                                      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

                                      D Offline
                                      D Offline
                                      Daniel Turini
                                      wrote on last edited by
                                      #18

                                      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)

                                      A 1 Reply Last reply
                                      0
                                      • S Shog9 0

                                        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

                                        A Offline
                                        A Offline
                                        Andreas Saurwein
                                        wrote on last edited by
                                        #19

                                        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

                                        M S 2 Replies Last reply
                                        0
                                        • D Daniel Turini

                                          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)

                                          A Offline
                                          A Offline
                                          Andreas Saurwein
                                          wrote on last edited by
                                          #20

                                          No, really specific about "the grid control", whatever brand - Maunder, Dundas, roll-your-own, etc.


                                          Off to in ~69 days

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups