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 want to add two columns in a single cell by using templated cell option. How can i do it in designer or aspx page. I am stuck in it from the past 4 days. I need to do it in hurry. Any little help will be appreciated greatly.
Thanks in advance
Regards
Sohaib Qazi
You could try using multiple div with fixed width and eval keyword to achieve your scenario. Here is the snippet the I come up during my test for this scenario:
<ISWebGrid:WebGridColumn Name="View_WebGridColumn" EditType="NoEdit" ColumnType="Template" Caption="Custom View" Width="200px"> <CellTemplate> <div style="width:148px; float:left; line-height: 20px; height: 20px; overflow:hidden; border-right: solid 1px #add1ff; padding-left:2px;"><%# Eval("ProductName") %></div> <div style="width:48px; float:left; line-height: 20px; height:20px; padding-left:2px;"><%# Eval("UnitPrice") %></div> </CellTemplate> <CellStyle> <Padding Bottom="0px" Left="0px" Right="0px" Top="0px" /> </CellStyle></ISWebGrid:WebGridColumn>
Set the div width so it will fill all the column width. We must also set the div height to match the column height and finally set the cell padding to 0.
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