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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 23.01.2008, 22:30   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
axStart: Using your own style sheet information in a weblet
Источник: http://axstart.spaces.live.com/Blog/...C0A0!249.entry
==============

First add the styles to the CCS of AX this is done in the file AXEP_v3 or AXEP. The syntax is not complex.
For a Table change at a line like table.MYthing. For the Row use the tr tag and for the Table Cell use the TD tag

Код:
tr.red 
{ 
     background-color: red; 
} 
tr.blue 
{ 
     background-color: blue; 
}

next redeploy your style sheet and you can use it in your weblet
X++:
public void run(Args args = null) 
{ 
    int rows; 
    int columns; 
    int currentRow; 
    int currentColumn; 
    ; 
    rows = 10; 
    columns = 5; 
    webSession().writeTxt(''); 
    for (currentRow = 1 ;currentRow....
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axStart: Cannot mix old-style sorting with new-style Group By or Order By on a query. Blog bot DAX Blogs 0 06.11.2008 12:05
axStart: Getting Dynamics AX information into Dynamics CRM, the easy way. Blog bot DAX Blogs 0 15.07.2008 02:13
axStart: InfoPath with default AIF file inbound offline Blog bot DAX Blogs 0 20.05.2008 19:05
axStart: 2. Create HTML content in AX and deploy it with a Weblet Blog bot DAX Blogs 0 23.01.2008 22:30
dynamicsusers: The Style Sheet Tool for Microsoft Dynamics NAV Blog bot DAX Blogs 2 05.07.2007 05:51

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:05.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.