2/19/2025 3:58:13 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
|
|
|
|
How to increase width of the column in a Query
Posted: 13 Aug 07 5:29 AM
|
Hi i am new to saleslogix. I have created a grid tab in Web Client. Now i want to increase the width of the column. I tried it through Layout property of QUERY with Markup - WIDTH, Value - 300. But it is not working. Is there any solution to increase the width of column? |
|
|
|
Re: How to increase width of the column in a Query
Posted: 13 Aug 07 10:06 AM
|
What I usually do is in the Table Properties of the Layout tab, I add a markup value pair similar to this:
Markup: ONRENDERCOMPLETE Value: "setupGrid(this);"
And then, on the page the #QUERY object appears on, put a function like this:
function setupGrid(dg) { dg.resizeColTo(0, 300); }
"resizeColTo" is a function in the behavior attached to the datagrid (datagrid.htc) that resizes the column. The first parameter is the column position and the second is the width.
You don't have to put it in the function on the page, you could put it inline on the markup/value pair:
Markup: ONRENDERCOMPLETE Value: "this.resizeColTo(0, 300);"
I like putting it on the page, though, because that way if I use the #QUERY object on more than one page, I can resize it differently on each page as needed.
The method you're using worked well pre-6.x, but not in the 6.2 and forward.
Jeff
|
|
|
|
Re: How to increase width of the column in a Query
Posted: 20 Aug 07 8:53 AM
|
if you just use the markup - TITLEWIDTH and value 300px, that will do the job. However to see the change you will need to log out of your browser and close all instances of IE. Go back in and the change should be there |
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|