Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Databound Grid Cell Values based on Method Return Value
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Databound Grid Cell Values based on Method Return Value
Miscellaneous
Thread ID:
00965538
Message ID:
00965538
Views:
44
Sorry this should have been posted in the .NET Form.


Hi Kevin

In my current VFP framework I have been using the listbox control instead of a grid to display data in a table. The text displayed in the listbox is obtained by calling the SetListBoxText method. The advantage is that I can do any kind of data manipulation in the method and simply return the text I wanted displayed. I began using this technique because using comboboxes in VFP's grid was slow and did not allow for data manipulation involving encoding, encryption etc.

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?

I realise I could create customer SQL statements to do some of this modification to data but having the ability to morph the data displayed is very helpful.

Regards,
Simon White
Simon White
dCipher Computing
Reply
Map
View

Click here to load this message in the networking platform