Orange arrow in user grid/form
Paul Witmond
Hello,We have created a grid on a user form
On this grid we show invoices.
This is working fine but it would be very nice if we can create the orange arrow in the grid so we can link to the correct invoice
Does anyone know how to do this ?
Thanks,
Paul
Manuel Marhold
Hi Paul,you can set the linkedObject on Textcolumns only.
Michael Egloff
Hi Paul,this is done like below:
((SwissAddonFramework.UI.Components.TextEditGridColumn)grid.Columns["ColumnID"].SpecificGridColumn).LinkObjectType = "4";
where 4 is the ID of the object you want to open (see different thread about the definitions)
Paul Witmond
Hi Michael,Thanks it's working in C#
But can you help me with the correct syntax in VB ?
Thanks,
Paul
Manuel Marhold
Hi,I think you should bookmark this page: http://www.developerfusion.com/tools/convert/csharp-to-vb/
DirectCast(grid.Columns("ColumnID").SpecificGridColumn, SwissAddonFramework.UI.Components.TextEditGridColumn).LinkObjectType = "4"We use
CType(grid.Columns("ColumnID").SpecificGridColumn, SwissAddonFramework.UI.Components.TextEditGridColumn).LinkObjectType = "4"
0
Please sign in to leave a comment.
Comments
0 comments