I create a rad window with a url loaded in it.
In this window, there is a rad grid with a good width, it looks like 100% the width of the rad window.
When I press the [+] button within the grid to add a record to this grid, it shows the MasterTableViewEditForm template of the grid and now there is a horizontal scroll bar on the rad window. Inside the template, I have a div and a table like this:
<FormTemplate>
<div ID="RadGridEditForm" style="padding:5px 5px 5px 5px;">
<table cellpadding="2" width="100%">
<tr>
<td width="80%">
In this window, there is a rad grid with a good width, it looks like 100% the width of the rad window.
When I press the [+] button within the grid to add a record to this grid, it shows the MasterTableViewEditForm template of the grid and now there is a horizontal scroll bar on the rad window. Inside the template, I have a div and a table like this:
<FormTemplate>
<div ID="RadGridEditForm" style="padding:5px 5px 5px 5px;">
<table cellpadding="2" width="100%">
<tr>
<td width="80%">
.....
Notice how the table is set to 100%. This causes the grid and hence the radwindow to be much wider than expected and I get a horizontal scroll bar on the radwindow.
If I guess at the width of the table, I can find a value that does not create a scroll bar, but should I have to do this? How can I just set the width to 100% and have it stretch to 100% of the rad window and not something larger? If I remove the width specifier from the table, the table is narrower than the window (only about 2/3rds the way across). I don't see anything else pushing the window that wide, so I don't know why making this table 100% is making the rad window internally wider than it is displaying.
Michael Grant
Notice how the table is set to 100%. This causes the grid and hence the radwindow to be much wider than expected and I get a horizontal scroll bar on the radwindow.
If I guess at the width of the table, I can find a value that does not create a scroll bar, but should I have to do this? How can I just set the width to 100% and have it stretch to 100% of the rad window and not something larger? If I remove the width specifier from the table, the table is narrower than the window (only about 2/3rds the way across). I don't see anything else pushing the window that wide, so I don't know why making this table 100% is making the rad window internally wider than it is displaying.
Michael Grant