on 07-16-2006 8:10 AM
hi guys,
I create one form in screen painter and use this form in VB.net. In this form one matrix is available.
In the first column of the matrix I want to display serial number for the Row.
how is it possible to display serial number in the first column?
can anyone help me for this problem?
thanks.
Hello.
You can write there Row from pVal.Row.
In screen painter this row has UID "V_-1". You can get properties of this column.
Hope it helps.
Regards
Kamil Wydra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
What also works quite nicely is when you start painting the matrix with code, is to delete this column, and then add another column as you wish, see some sample code below
oMatrix = oform.Items.Item("4").Specific
oMatrix.Columns.Remove("V_0")
oMatrix.Columns.Add("Type", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn = oMatrix.Columns.Item("Type")
oColumn.DataBind.SetBound(True, "", "uds7")
oColumn.TitleObject.Caption = "Entity"
oColumn.Editable = False
oColumn.Width = "100"
User | Count |
---|---|
99 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.