Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET DataGrid
Hello I am having a problem with my datagrid control, it shows like an extra column at the end and I would really like to know how to remove it. Here is the picture of the problem
http://i4.photobucket.com/albums/y134/s3b4k/datagridproblem_zps3881ad01.png
 
Now this only occurred when i changed the row span because i need to allocate the time for a course.
e.items.cells[].rowspan=6;
If i set don't set it all i get this which works fine but it doesn't cover the blocks i need for a course.
http://i4.photobucket.com/albums/y134/s3b4k/datagridnoproblem_zps3e1a7380.png[^]
Posted 14-Oct-12 2:29am
Edited 14-Oct-12 4:35am
(no name)105.8K
v3
Comments
sinhasourabh at 14-Oct-12 8:27am
   
Did you checked the AUTOGENERATED COLUMN property of the gridview. if yes, then uncheck it.
guidingstructures at 14-Oct-12 11:26am
   
yeah i tried but nothing gets rendered
Sandeep Mewara at 14-Oct-12 10:46am
   
Looks like rowspan count is incorrect based on the final UI.
guidingstructures at 14-Oct-12 11:26am
   
How would i adjust it to get the correct value ?
AshishChaudha at 15-Oct-12 2:29am
   
Could you please share your code??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 200
1 PIEBALDconsult 150
2 BillWoodruff 148
3 Jochen Arndt 135
4 DamithSL 130
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 14 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100