2 Replies - 2070 Views - Last Post: 22 November 2010 - 12:21 AM Rate Topic: -----

#1 h.kumar  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 19-November 10

Hide the row by using ColumnButton in Datagridview

Posted 19 November 2010 - 02:04 AM

HI,
Present i am working on Datagridview.
ButtonColumn is one of the Column in the Datagridview table.
When Click the button on the first row, the first row should be hide.
When Click the button on the Second row, the Second row should be hide....like until the end of the row.
Thanks & Regards
Kumar
Is This A Good Question/Topic? 0
  • +

Replies To: Hide the row by using ColumnButton in Datagridview

#2 CharlieMay  Icon User is offline

  • This space intentionally left blank
  • member icon

Reputation: 1605
  • View blog
  • Posts: 5,162
  • Joined: 25-September 09

Re: Hide the row by using ColumnButton in Datagridview

Posted 19 November 2010 - 06:12 AM

Use the RowHeaderMouseClick event to detect the click and set the visible property of the row clicked to false.
Was This Post Helpful? 0
  • +
  • -

#3 h.kumar  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 19-November 10

Re: Hide the row by using ColumnButton in Datagridview

Posted 22 November 2010 - 12:21 AM

View Posth.kumar, on 19 November 2010 - 01:04 AM, said:

HI,
Present i am working on Datagridview.
ButtonColumn is one of the Column in the Datagridview table.
When Click the button on the first row, the first row should be hide.
When Click the button on the Second row, the Second row should be hide....like until the end of the row.
Thanks & Regards
Kumar

ok i will check...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1