on 11-15-2006 1:21 PM
Hello everybody
Are there any way to create calculated context attribute dynamically on runtime? I have a table with columns which are created dynamically with set of related context attributes. Now I'd like to make the attributes as calculated to increase a performance. How can I do this?
Thanx
Sergei
Hi,
You can dynamically assign calculated property but its not possible to generate the getter and seeter methods dynamically. So you need to predefine setter and getter methods.By using the method
<b>setCalculatedAttributeAccessor(IWDCalculatedAttributeAccessor)</b> you can specify the predefined calculated accessor for the attribute.
Regards
Abhilash
Message was edited by:
Abhilash gampa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can make use of setCalculatedAttributeAccssor() API on IWDAttributeInfo.
Regards, Anilkumar
Message was edited by:
Anilkumar Vippagunta
Message was edited by:
Anilkumar Vippagunta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.