Thank you in advance for any help.
Code: Select all
put the width of this card into tCardWidth
set the lockScreen to true
if tCardWidth >= 1280 then
set the dgProp["column visibility"] of group "myDataGrid" to \
"true,true,true,true,true,true,true,true,true"
else if tCardWidth >= 1024 then
set the dgProp["column visibility"] of group "myDataGrid" to \
"true,true,true,true,true,true,true,true,true"
else if tCardWidth >= 800 then
set the dgProp["column visibility"] of group "myDataGrid" to \
"true,false,true,false,false,false,true,true,true"
else
set the dgProp["column visibility"] of group "myDataGrid" to \
"true,false,false,false,false,false,true,true,true"
end if
set the lockScreen to false