Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, May 19, 2024 
 
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!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: How to increase width of the column in a Query
Hrushikesh
Posts: 3
 
How to increase width of the column in a QueryYour last visit to this thread was on 1/1/1970 12:00:00 AM
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?
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: How to increase width of the column in a QueryYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: How to increase width of the column in a QueryYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Hrushikesh
Posts: 3
 
Re: How to increase width of the column in a QueryYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Aug 07 12:00 AM
Thanx a lot sir, TITILEWIDTH is working fine.
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/19/2024 11:11:44 PM