Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Edit Only the specific cell
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Edit Only the specific cell

 Post Reply Post Reply
Author
Message
JamGodz View Drop Down
Groupie
Groupie
Avatar

Joined: 25 February 2010
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamGodz Quote  Post ReplyReply Direct Link To This Post Topic: Edit Only the specific cell
    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..
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
JamGodz View Drop Down
Groupie
Groupie
Avatar

Joined: 25 February 2010
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamGodz Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2010 at 7:45pm
Hi Aaron,

Thank you for your reply...


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.