![]() |
#1 |
Участник
|
tlefor: Dynamics AX 2012: Meet the Table Control
Источник: http://blogs.msdn.com/b/tlefor/archi...e-control.aspx
============== Meet Dynamics AX 2012's Table Control. It's an unbound control that offering unique interactions with the user providing functionality not available with other "table or tabular" controls like ListView and Grid. The table allows the developer to swap underlying controls on a cell by cell basis, and has the ability to show a large number of columns-defined at runtime if necessary. At it's core, the table is a simple unbound table: ![]() It allows you to specify the number of columns/rows and as an option to show gridlines. The table allows you to indicate which types of controls can be hosted within each cell: ![]() A powerful feature of the table is in its ability to vary the input type per CELL. This is done by the developer adding an edit control method that returns the modeled control type that should be represented in that cell ![]() Combined with the capabilities of the individual controls, different visuals and interactive uses are possible. ![]() ![]() With the Table control, the developer will be able to:
FormControl editControl(int column, int row){ if ((column == 2) || (column == 4)){ if (row > 1){ return intEdit; } else return editline; } else{ return editline; } } Источник: http://blogs.msdn.com/b/tlefor/archi...e-control.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|