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. ,NET to PHP

,NET to PHP

Scheduled Pinned Locked Moved The Lounge
questioncsharpphpdatabasemysql
61 Posts 34 Posters 3 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.
  • D DiscoJimmy

    Well, it's weird. You CAN add a column, if you add it to the end of the list. And yes, you can declare the columns statically in markup and then hide them. But what you can't do is insert columns at runtime into the middle of the list. For instance, we have an app where we have a few columns that need to be on the left, so we declare those statically. Then we have a few columns that need to be on the right so we declare those statically. But then we have a few dynamic columns that are determined at runtime and need to be in between the 'left' and 'right' columns. And this doesn't work. So we are forced to just declare the 'left' columns in markup, and then at runtime we build and add the dynamic columns to the end, and then we also build and add the 'right' columns to the end. It works, but it's kind of a kludgy. The GridViewColumnCollection class has an Insert method, but it doesn't seem to be of any use. I'm kind of surprised this slipped through because normally microsoft is very thorough, but I guess this is why everyone pays for Infragistics and Telerik controls.

    B Offline
    B Offline
    Brady Kelly
    wrote on last edited by
    #61

    DiscoJimmy wrote:

    I guess this is why everyone pays for Infragistics and Telerik controls.

    Or they build their own tables with a good view engine?

    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