on 08-31-2009 6:39 AM
Hai ,
I am adding the columns in an existing matrix at runtime in page load.
I can able to add but how to give the header text for the columns added?
I tried with the following code,
oMatrix.Columns.Item("ItemMake").Title = "Make";
but it gives the error as,
"property or indexer 'SAPbouiCOM.IColumn.Title' cannot be assigned to -- it is read only"
and also i want the added column to be displayed in the first position.
Regards,
Kughan.
Hi,
If its system matrix that ur talking abt then y dont u add a UDF ?? As it will be more flexible.
Hope it helps,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Then i recommend u to create a UDF in the marketing document section. So that in the PO matrix u can get a new col. And for creating the UDF u can do it in SAP UI using.. Tools->Customization Tools->User defined Fields management or u can also do it in code C:\Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\02.MetaDataOperations Check that sample for code.
Hope it helps,
Vasu Natari.
User | Count |
---|---|
95 | |
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.