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. C#
  4. datagrid select row

datagrid select row

Scheduled Pinned Locked Moved C#
question
3 Posts 2 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.
  • X Offline
    X Offline
    xrado
    wrote on last edited by
    #1

    how do i select the whole row in datagrid when clicking on single cell without selecting text in it

    S 1 Reply Last reply
    0
    • X xrado

      how do i select the whole row in datagrid when clicking on single cell without selecting text in it

      S Offline
      S Offline
      Sendilkumar M
      wrote on last edited by
      #2

      hey you want to do it in client side or server side. If you want in client side,you can add the JaveScript function to each item of the DataGrid in Item created event. For Server side use select button. But client sied will be very easy and fast. If you want code stuff for that ask me i will send it to you Tnx M.Sendilkumar Thomson,Blore,India

      X 1 Reply Last reply
      0
      • S Sendilkumar M

        hey you want to do it in client side or server side. If you want in client side,you can add the JaveScript function to each item of the DataGrid in Item created event. For Server side use select button. But client sied will be very easy and fast. If you want code stuff for that ask me i will send it to you Tnx M.Sendilkumar Thomson,Blore,India

        X Offline
        X Offline
        xrado
        wrote on last edited by
        #3

        im interested about client side and im talking about visual selection same happen if you click on row header (the whole row is selected without texi in single cell) and i wana same to happen when i click on any cell if you have the code to solve this ..please bye

        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