Print Page | Close Window

Edit Only the specific cell

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17230
Printed Date: 15 November 2024 at 1:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Edit Only the specific cell
Posted By: JamGodz
Subject: Edit Only the specific cell
Date Posted: 11 September 2010 at 4:04am
Good day! To all expert!

Just wanna ask about on how to edit only the specific item in report control and the other item are lock for editing. Coz "AllowEdit" will unlock all item.

For example All i want to edit by the user is only the quantity but the Description and Price are lock for editing.




Any idea or suggestion would be greatly appreciated. Thanks..



Replies:
Posted By: Aaron
Date Posted: 17 September 2010 at 5:35am
Hi,
 
You can do follwing:
 
With Me.wndReportControl
        .AllowEdit = True
       
        With .Columns
           
            With .Add(.Count, "Description", 100, True)
                .Editable = False
            End With
            With .Add(.Count, "Quantity", 100, True)
                .Editable = True 'ReportItems in this column will be editable
           
End With
            With .Add(.Count, "Price", 100, True)
                .Editable = False
            End With
 
        End With
End With
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: JamGodz
Date Posted: 19 September 2010 at 7:45pm
Hi Aaron,

Thank you for your reply...





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net