on 01-17-2006 4:27 PM
Hello,
can i insert a linkedbutton in a grid column (not a matrix) ?
Thank for your answer... and your sample code..
Laurent.
Message was edited by: LAURENT TESTA
Hello Laurent,
Can you share the answer (and sample code) with us
Thanks
Ad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ad !!
After long long long long search.... i find !!!
Here is my code :
' DataSource
objForm.DataSources.DataTables.Add("dtt")
in_Form.DataSources.DataTables.Item(0).ExecuteQuery("select DocNum, PostDate, UserSign, Warehouse, PlannedQty from OWOR")
' Grid
oItem = objForm.Items.Add("grid", oFormItemTypes.it_GRID)
oItem.Left = 20
oItem.Top = 90
oItem.Width = 550
oItem.Height = 300
oGrid = objItem.Specific
objGrid.DataTable = objForm.DataSources.DataTables.Item("dtt")
'
' LinkedButton on "DocNum" column
Dim objEdtColumn As SAPbouiCOM.EditTextColumn
objGrid.Columns.Item("DocNum").Type = SAPbouiCOM.BoGridColumnType.gct_EditText
objEdtColumn = objGridCtl.Columns.Item("DocNum")
objEdtColumn.LinkedObjectType = SAPbouiCOM.BoLinkedObject.lf_ProductionOrder
Bye !
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
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.