iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
We are using WebGrid 7.0 in SharePoint web part where we are rendering web grid programaticallyl.
We have inline editing enabled in web gird and what we want to achieve following functionality.
By default lets say column width is 40 pixel. Now when user types in data like "123456789" which does not fit in the 40 pixel column width. Is there a way i can resize the column width automatically as i type in when the data width goes beyond the limit of column width ???
appereciate any help.
thank you.
Hi Gaurav,
Unfortunately, we don't have property that could resize the width automatically at typing time.
In case you need code to change the width manually, you can use this snippet :
function Button1_OnClick() { var grid = ISGetObject("WebGrid1"); var phoneColumn = grid.RootTable.Columns.GetNamedItem("Phone"); phoneColumn.Resize(100); // resize to 100 px alert("Phone column's width is now: " + phoneColumn.Width); }
Regards,
Julia
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname