Results 1 to 4 of 4

Thread: Seeing order of gridview columns

  1. #1
    Frenzied Member
    Join Date
    Oct 00
    Posts
    1,371

    Question Seeing order of gridview columns

    I've got a tough one (at least for me!). I have a gridview control which is actually from ComponentOne but most is the same as the normal gridview. It has a feature that lets me move columns around so they are in different order. I want to be able to click a button and see the order of these columns and which ones are visible. This is to be used for a custom report I am generating.

    Does anyone know how to find out what columns are visible and in what order? I'm doing it in VB coding for asp.net.

    Thanks!

    Warren

  2. #2
    PowerPoster motil's Avatar
    Join Date
    Apr 09
    Location
    Tel Aviv, Israel
    Posts
    2,128

    Re: Seeing order of gridview columns

    it might be very easy task using jQuery, post the table markup and i'll try to help you.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  3. #3
    Lively Member
    Join Date
    Apr 10
    Location
    Australia
    Posts
    71

    Re: Seeing order of gridview columns

    You should check out the documentation for the product... does it have a client side API at all? Probably something you will have to accomplish with JavaScript as motil said.

  4. #4
    ASP.NET Moderator mendhak's Avatar
    Join Date
    Feb 02
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: Seeing order of gridview columns

    Is this feature to be used for designing the report or for the actual report itself? Because surely if the columns are reordered, the user can see that they've been reordered, as the user is the person who did it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •