setCellFormat
Any chance of an example on this? I'm trying to set all the cells in a particular column to right align & to be formatted as a currency string.
Cheers.
Cheers.
Steve Childs
March 15,
<style>
.aw-column-1 {
text-align: right;
}
</style>
<script>
var obj = new AW.UI.Grid;
obj.setCellData("123456", 1);
obj.setColumnCount(10);
obj.setRowCount(10);
var ccy = new AW.Formats.Number;
ccy.setTextFormat("$ #,###.##");
obj.setCellFormat(ccy, 1);
document.write(obj);
</script>
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021