Grid and Data Binding
Posted on 2010-09-02
I have added a Grid in Form Init - code shown below:
thisForm.TopFrame.Page1.Grid1.ColumnCount = 3
thisForm.TopFrame.Page1.Grid1.Top = 20
thisForm.TopFrame.Page1.Grid1.Left = 10
thisForm.TopFrame.Page1.Grid1.Height = 120
thisForm.TopFrame.Page1.Grid1.Width = 540
thisForm.TopFrame.Page1.Grid1.Panel = 0
thisform.TopFrame.Page1.Grid1.Themes = .F.
*ThisForm.TopFrame.Page1.Grid1.AllowAutoColumnFit = 2
thisForm.TopFrame.Page1.Grid1.visible = .t.
There are few checkboxes which are displayed when a Column in the Grid is selected. I'm using PROCEDURE grid1.AfterRowColChange but this doesn't seem to work. Shall I use Procedure AfterRowColChange?