Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Databound Grid Cell Values based on Method Return Value
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00965569
Message ID:
00966031
Views:
13
Hi Kevin

I understand this technique but I am not sure how well it works with fields that may contain zipped or encrypted data. At present in VFP I can store this type of data in a memo field and unzip or decrypt it just before the value is displayed in the control because I am using my own custom data binding technique. This means the data in the table is always encrypted and is only decrypted on the fly when it is to be displayed to the user. Binding control values to the return value of a method allows for more control over the text displayed than does binding to a field in a dataset. I can also store date values in the table but display them in a host of formats just by adjusting the value returned from the method.

Thanks,
Simon White




>Simon,
>
>>I noticed that the Syncfusion datagrid allows something called formula cells which basically does something similar to what I have just described. What I am wondering about is if there is way to implement such a thing in mmDataGrid where the grid might be bound to a datatable but the value shown in the grid column could be the return value of a method instead of showing the table field value?
>
>We don't have a specific type of grid column that does this, but you can add a calculated column to your DataTable and populate it in the business object (i.e. in the HookPostGetData() method).
>
>Regards,
Simon White
dCipher Computing
Previous
Reply
Map
View

Click here to load this message in the networking platform