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 nested(With Child Table) web grid
when i try to hide columns after getting from db what columns should appear i lose the structure
in my remarks column i get the values of other columns
please tell me how to do this
DataType="System.Bit" EditType="NoEdit" Name="debug_enabled">
</ISWebGrid:WebGridColumn>
<ISWebGrid:WebGridColumn Caption="‹…" DataMember="debug_url" EditType="NoEdit"
Name="debug_url">
</ISWebGrid:WebGridColumn>--%>
Hi Koby,
Please for the next time no need to use th "!" mark, I can read it perfectly without any "!" mark.
Before I gave you the solution I have tested it by creating a simple sample. Here I attached my simple sample that I used to test, please check it and let me know if you have different scenario than my sample.
Could you describe more spesific about the issue? What structure that you lost? Also step to reproduce the issue.
Thanks.
Best Regards,
Gordon Tumewu
Try setting the width to 0px.
hi Gordon ,
thx for the replay.
when i try to hide in the server or client one of my columns the structre change
sample :
in the second column i have First Name in third i have Last Name and the next is remrks.
if i hide the last name in the firstname i get the last name data and in the remrks i get fhe first name data the column is hidden but the data get mixed up
thanks in advance
koby
Could I know the code that you used to hide the column?
{
WebGrid1.RootTable.Columns[4].CellStyle.Width = System.Web.UI.WebControls.Unit.Pixel(0); // second try dont work
}
Actually you only need the WebGrid1.RootTable.COlumns[4].Visible = false. But you need to put it in PrepareDataBinding event not in InitializeLayout.
Hope this helps.
Hi Gordon,
no i'm sorry but this is not working.
just a reminder this is a grid with a
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