Как изменить высоту строки в dojox.grid.EnhancedGrid средствами dojo(x)?

22 views
Skip to first unread message

Ильдар Гильфанов

unread,
Mar 4, 2011, 7:26:33 AM3/4/11
to RU DojoToolkit JS Framework
пока нашел установил непосредственно через CSS:

.dojoxGrid table {
height:20px;
}

но не во всех браузерах (например IE6) отображается корректно.

в принципе не критично, но возможно имеется иной вариант решения.

Спасибо.

aizen

unread,
Mar 4, 2011, 8:19:01 AM3/4/11
to RU DojoToolkit JS Framework

В Grid dojo 1.5 нашел вот такое поле...
// rowHeight: Integer
// If rowHeight is set to a positive number, it will define the
height of the rows
// in pixels. This can provide a significant performance advantage,
since it
// eliminates the need to measure row sizes during rendering, which
is one
// the primary bottlenecks in the DataGrid's performance.
rowHeight: 0,
Reply all
Reply to author
Forward
0 new messages