DataGrid Problem

X

Xarky

Hi,

On my webform, I have placed a datagrid and underneath it some other
webfrom components such as textboxes and buttons. The datagrid is
being populated at runtime and its size is not predefined (it can be
0,5,10,50,etc).

Now when the datagrid gets large, the other components placed under
the datgrid are being hided.

How can I solve this problem?

Can someone help me out please.
Thanks in Advance
 
X

xarky d_best

Hi,
Problem solved.

Another simple problem, how do I adjust the column widths of the
datagrid because I can't find the correct property?

Thanks
 
E

Eliyahu Goldin

Depends how you define the columns. Generally, you can't fully control
column width. Browser will "help" you in that. In certain cases it will
ignore your instructions and set the width according to its own rules..

Eliyahu
 
X

xarky d_best

Hi,
Regarding the first problem,

I am placing the datagrid into a grid layout panel, the other components
into antoher grid layout panel and then both grid layout panels into a
flow layout panel. Doing this, problem still persists.

If I do only datagrid + grid layout panel of components in a flow layout
panel, solution works, but I'm having the datagrid put on the left hand
side of the flow layout and I would like to put it in the top center of
the panel.

Below I drew a simple diagram of what I have. I would like to move the
grid(DataGrid) to the center, so that empyt space is divided on both
sides.

****************************
* Grid Empty space *
* Grid Empty space *
* Components............. *
* Components............. *
* *
* *
* *
* *
****************************


Does there exist some sort of seperator that I can put before but near
to the datagrid?

I hope someone understands my problem.
Thanks
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top