Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
C#
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
Updated 14-Oct-12 3:35am
v3
Comments
[no name] 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900