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
Hi,
I have a small issue with headerStyle property. If I set it like this :
<cc4:WebGridColumn Caption="test" DataMember="Nb" Name="Nb" Width="3%"> <HeaderStyle Height="200px" CustomRules="writing-mode:tb-rl;" /> </cc4:WebGridColumn>
the caption "test" doesn't appear.
I tried to set it server side :
void webgrid_InitializeColumn(object sender, ColumnEventArgs e) { if (e.Column.Name == "Nb") { //WebGridFormatStyle headerStyle = new WebGridFormatStyle(); //headerStyle.Height = Unit.Pixel(100); //headerStyle.CustomRules = "writing-mode:tb-rl;"; e.Column.Caption = Resources.Resources.grdNb; } }
but it doesn't work at all.
Do you know how to set height, writing mode and have the caption correctly displayed?
I thank you in advance,
Nicolas
Hi Nicolas,
From what I see on your code, you are using percentage on your WebGridColumn which is not supported on IE. So we do not recommend for our customer to use percentage in our WebGrid, for further information you can check this thread, http://www.intersoftpt.com/Community/WebGrid/Column-Width-as-Percentage/.
Anyway, here are the sample code that I made using pixel on html and it works fine on here. You can, as well, see the result from the attached file.
<ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px"> <HeaderStyle Height="100px" CustomRules="writing-mode:tb-rl;" />
I hope it helps and please, do not hesitate to ask if you have any other questions, thank you.
Best Regards,
Andi Santoso.
Thank you.
Even with your solution, I still have the following behavior (see picture)
I have tried again and everything seems to work fine in here. May I know what browser are you using? and have you tried to download the newest version of your browser? Thank you.
Best Regards,Andi Santoso
I'm running it with IE 7.0.5730.13
I can't update my version, I have to use this version.
Thank you,
Hi Nicolas, May I know your WebGrid version? And please ensure you have got our newest hotfix, because I have tried under your environment and it still works fine. Thank you.
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