If (grd.Rows > grd.FixedRows + 1) Then
grd.RemoveItem grd.Row
Else
grd.Rows = grd.FixedRows
End If
Deleting a specific value in flexgrid
Page 1 of 13 Replies - 294 Views - Last Post: 08 February 2012 - 08:20 AM
Topic Sponsor:
#1
Deleting a specific value in flexgrid
Posted 08 February 2012 - 07:15 AM
Hi..I want to know how to delete a specific value in my flexgrid.The only code that I have is for deleting the whole column in the flexgrid.What I want to achieve is to delete only 1 value in my flexgrid.This is my code.
Replies To: Deleting a specific value in flexgrid
#3
Re: Deleting a specific value in flexgrid
Posted 08 February 2012 - 07:38 AM
You can look at the cells of the flex grid as 2D array. This MSFlexGrid1.TextMatrix(1, 0)="test" means that you input "test" in the first row(1) on the first column(0). Note that row begins from 1 instead of 0 this is because the first row (0) is used for the headers of the columns. Now that you know how to input "test" in the first row on the first column try to solve your problem if you have troubles test the code that you try and we will be glad to help you
#4
Re: Deleting a specific value in flexgrid
Posted 08 February 2012 - 08:20 AM
Where should I insert this in my code?
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|