how to get VS flexgrid Readonly row

April 20, 2009 at 20:58:53
Specs: Windows XP
Hello to all,I m using AX VSFlexgrid (Light).
I wan to know if there is any way to make some rows of grid readonly or disabled on the basis of certain criteria.Its urgent plz reply soon

See More: how to get VS flexgrid Readonly row

Report •

April 29, 2009 at 01:33:56
i have solved the problem
on beforeRowColChange() you can do
Private Sub grdClm_BeforeRowColChange(ByVal sender As Object, ByVal e As AxVSFlex7L._IVSFlexGridEvents_BeforeRowColChangeEvent) Handles grdClm.BeforeRowColChange
With grdClm
If Convert.ToInt64(.get_TextMatrix(.Row, c_grd_Col_IssuedQty)) = Convert.ToInt64(.get_TextMatrix(.Row, c_grd_Col_Qty)) Then
.Editable = VSFlex7L.EditableSettings.flexEDNone
.Editable = VSFlex7L.EditableSettings.flexEDKbd
End If
End With
End Sub

Report •
Related Solutions

Ask Question