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. General Programming
  3. Visual Basic
  4. DataGrid Sorting

DataGrid Sorting

Scheduled Pinned Locked Moved Visual Basic
algorithmsquestion
3 Posts 3 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.
  • S Offline
    S Offline
    Sumit Domyan
    wrote on last edited by
    #1

    Hi all, I am using Datagrid in my application which has a bool checkbox column. Sorting property is on for datagrid. When datagrid is sorted, bool column behaves other way. Like if i click on the first row of datagrid, it should change the status of firrst row bool column but it changes the status of any other row. Why is it behaving like this? Any Solutions? Sumit Domyan

    J 1 Reply Last reply
    0
    • S Sumit Domyan

      Hi all, I am using Datagrid in my application which has a bool checkbox column. Sorting property is on for datagrid. When datagrid is sorted, bool column behaves other way. Like if i click on the first row of datagrid, it should change the status of firrst row bool column but it changes the status of any other row. Why is it behaving like this? Any Solutions? Sumit Domyan

      J Offline
      J Offline
      Jim Matthews
      wrote on last edited by
      #2

      what does your code look like to update the boolean column? most likely yuo're just using current row property of the datagrid, and you should be using the currency manager, to get at the currently selected row. just a thought.


      -jim

      A 1 Reply Last reply
      0
      • J Jim Matthews

        what does your code look like to update the boolean column? most likely yuo're just using current row property of the datagrid, and you should be using the currency manager, to get at the currently selected row. just a thought.


        -jim

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        i need to write a prgram that will sort a 1000 number faster any suggestions.

        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