AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.01.2015, 01:14   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
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:
  • Model a table control on a form
  • Set number of columns and rows
  • Set height and width
  • Add supported contained controls for interaction within each cell
    • from the AOT, select and right click on the control- select add control
  • On a cell by cell basis, the control calls the editcontrol method to learn what control to host in the cell

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, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX Content: Make Microsoft Dynamics AX 2012 yours! Blog bot DAX Blogs 0 01.10.2013 00:12
DAX: How to gain additional value from the Microsoft application platform with Microsoft Dynamics AX 2012 R2 Blog bot DAX Blogs 3 21.06.2013 15:16
Axilicious:Hosting custom WPF calendar control in AX 2012 Blog bot DAX Blogs 0 20.05.2013 18:11
ax-erp: Creating SSRS-Reports in Dynamics AX 2012 – What’s no longer possible in AX-reports Blog bot DAX Blogs 0 18.07.2012 12:11
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:23.