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
I set the visiblity of the last two column to false,I want to, when i click the button,i want to show all coloum on clientside.how can i do. thanks
4.0
thanks your answer ,but when i add new row ,i find other problem.when the database has no data, i add new row , and set
<LayoutSettings AllowAddNew="Yes" NewRowLostFocusAction="AlwaysPrompt"> </LayoutSettings>
here is my code .but i find other problem,in my project have a button and a grid .when the page load the grid see 1.png ,when you click the button ,it appear 2.png.
thanks
thanks ,my webgrid version is 7.0.7200.419.
i hvae been update my webgrid . i test your project .there is no problem .but i change you code,i set two table in you code ,the page will apper the scroll bar. this is my code
<html><head runat="server"> <title>Untitled Page</title> <style> .style1 { width: 100%; height: 200px; border: solid 1px; } </style></head><body> <form id="form1" runat="server"> <table border="0" align="center" cellpadding="6" cellspacing="0" width="100%" > <tr> <td> <table class="style1"> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> <tr> <td> <table class="style1"> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> <tr> <td> <ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="AccessDataSource1" Height="250px" UseDefaultStyle="True" Width="500px"> <layoutsettings culture="zh-CN" showcolumnaction="true"> <TextSettings Language="UseCulture"> </TextSettings> </layoutsettings> <roottable datakeyfield="CustomerID"> <Columns> <ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactTitle" DataMember="ContactTitle" Name="ContactTitle" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Address" DataMember="Address" Name="Address" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="City" DataMember="City" Name="City" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PostalCode" DataMember="PostalCode" Name="PostalCode" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Country" DataMember="Country" Name="Country" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Fax" DataMember="Fax" Name="Fax" Width="100px"> </ISWebGrid:WebGridColumn> </Columns> </roottable> </ISWebGrid:WebGrid> </td> </tr> </table> <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Northwind.mdb" SelectCommand="SELECT * FROM [Customers]"></asp:AccessDataSource> </form></body></html>
when i click the head it will appear buy.I test in IE8 ,not in firefox.
when you test my project
one step you see 1.png
after you operate one step ,it will show like 2.png
then you click the head it will show like 3.png
i test your project ,there is no problem, but there is other problem .in your project you set this code
body.Style.Add("overflow", "hidden"),
when the page apper the scroll bar.when id click the head it show
my project use webgrid 7.0 and the browser is IE8
thanks ,but when i export by text ,it happen the same problem.
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