Thursday, November 02, 2006
New Milos Names Grid
Version 2.0.61002.0 and newer of the Milos Names Components has an enhanced version of the Milos Names Grid. It now has the capability to show names with associated communication information (email, phone numbers, web addresses,...) as well as all the addresses. Here is an example screen shot of the name search pane (this being a specialized version in our internal Olympus software) that uses the names grid:

Note that an unlimited number of communication information items as well as an unlimited number of addresses are showing (each row of the grid grows accordingly). Also, note that the addresses are all formatted properly according to individual international standards. The Austrian example address for instance has the postal code followed by the city, while the US addresses have the city, state, ZIP format.
The names grid also has two other views, one being a very simple grid, the other being a compressed version of the above, showing just one address, as well as email, phone, and URL (if present):

Another interesting aspect is that the grids adjust automatically, based on the data source they are bound to. For instance, if the data source is a DataSet with a single table, and that DataSet contains fields for address, email, and so forth, then the display will appear as show above. The data source can also in itself have related tables for this information, which will also result in correct display. In scenarios where the data source does not have those fields or related tables, the columns showing that information will remain empty, but the grid still continues to function properly.
Of course, the grid (as well as other names components) follow the rules of inheritance and composition. This means that the grid as well as other name components can be used in all kinds of scenarios. Everything shown here is just an example configuration.
Posted @ 11:26 AM by Egger, Markus (markus@code-magazine.com)
Post a Comment:
Comment Title (required):
Your Name (optional):
Your Email (optional):
Your Web Site (optional):
Your Comment (required):