specifying data grid layout at different resolution?

E

Elhanan

hi...

i have a scrollable data grid with which is sortable via table control
above that datagrid (i took it from an article somwhere)..

trouble is i can't seem to set the columns width for the table control
to match the ones on datagrid, when i almost did, changing the
resolution messed everything up. (i'm % width)

is there a way to have the fonts become smaller according to the
resolution?

the table control is inside a div but it must around 2$ small in width
then the data grid to account for the scroll bars.
 
A

Aquila Deus

Elhanan said:
hi...

i have a scrollable data grid with which is sortable via table control
above that datagrid (i took it from an article somwhere)..

trouble is i can't seem to set the columns width for the table control
to match the ones on datagrid, when i almost did, changing the
resolution messed everything up. (i'm % width)

is there a way to have the fonts become smaller according to the
resolution?

the table control is inside a div but it must around 2$ small in width
then the data grid to account for the scroll bars.

Fonts become smaller or bigger according to the screen's DPI, if you
specify their size in real-world units (cm, pt, ...). But your problem
is about the browser window's size, not resolution or dpi.

Maybe you should give the table/datagrid a fixed width?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top