Я новичок в SmartClient с JavaScript.Во время создания listGrid использовался базовый класс с backgroundColor как «красным», а затем динамически я изменил SelectionAppearance с «rowStyle» на «checkbox», где list backgroundColor изменил цвет с красного на синий (который по умолчанию), вот мой фрагмент
var groupAppliedDiscList = isc.ListGrid.create({
ID: "groupAppliedDiscList",
selectedRecordsArr: [],
selectionType: "simple",
name: "groupAppliedDiscList",
height: "100%",
width: "100%",
showHeader: false,
selectionAppearance: "rowStyle",
canResizeFields: true,
virtualScrolling: false,
showRecordComponents: true,
showRecordComponentsByCell: true,
canRemoveRecords: false,
recordComponentPoolingMode: "recycle",
showBackgroundComponents : true,
baseStyle: "cell_1",
canSelectCells: false,
backgroundColor: "transparent",
showRowNumbers: false,
fields: [
{name: "Image",type: "text",showIf: "false"},
{name: "ItemDescription", type: "text",showIf: "false"},
{name: "Quantity", type: "text",showIf: "false"},
{name: "Price", type: "text",showIf: "false"},
{name: "Disc", type: "text",showIf: "false"},
{name: "ExtPrice", type: "text",showIf: "false"},
{name: "DiscountedPrice", type: "text",showIf: "false"},
{name: "discountItemLine", width: "*", align: "left"}
]
});
Заранее спасибо, Свати.