Click here to Skip to main content
12,405,303 members (70,250 online)
Rate this:
 
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 1:29am
Updated 14-Oct-12 3:35am
v3
Comments
sinhasourabh 14-Oct-12 8:27am
   
Did you checked the AUTOGENERATED COLUMN property of the gridview. if yes, then uncheck it.
guidingstructures 14-Oct-12 11:26am
   
yeah i tried but nothing gets rendered
Sandeep Mewara 14-Oct-12 10:46am
   
Looks like rowspan count is incorrect based on the final UI.
guidingstructures 14-Oct-12 11:26am
   
How would i adjust it to get the correct value ?
AshishChaudha 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 14 Oct 2012
Copyright © CodeProject, 1999-2016
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