jonesey
03-27-2003, 05:37 AM
Hi everyone,
First visit to this forum, so I hope I'm posting in the right place
I'm wondering why this won't work
function createList1() {
enquiryList_cp.setSize(450, 300);
enquiryList_cp.setColumns("Cat", "Qnty", "Price", "Description");
Cat.setWidth(20);
Qnty.setWidth(30);
Price.setWidth(60);
}
When the function is called the dataGrid appears at the correct size but the columns don't change.
I've tried,
with(enquiryList_cp){
Cat.setWidth(20);
}
tried,
enquiryList_cp.Cat.setWidth(20);
Any ideas would be appreciated
Thanks
jonesey
First visit to this forum, so I hope I'm posting in the right place
I'm wondering why this won't work
function createList1() {
enquiryList_cp.setSize(450, 300);
enquiryList_cp.setColumns("Cat", "Qnty", "Price", "Description");
Cat.setWidth(20);
Qnty.setWidth(30);
Price.setWidth(60);
}
When the function is called the dataGrid appears at the correct size but the columns don't change.
I've tried,
with(enquiryList_cp){
Cat.setWidth(20);
}
tried,
enquiryList_cp.Cat.setWidth(20);
Any ideas would be appreciated
Thanks
jonesey