Skip to Content
author's profile photo Former Member
Former Member

User Grid on System Form: SetCellEditable and SetRowEditable Don't Work?

Hi,

I have a user defined grid on a custom tab on a system form (Service Call). I am fill that grid with a DataTable. I am trying to disable certain rows but I get an error. The error is -7006 The item is not a user-defined item [66000-8]. I can call the SetCellBackColor and SetRowBackColor methods and they work fine but I really need to disable my rows. Why doesn't this work? The item is a user-defined item so the error doesn't make sense.

Thanks, David

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 27, 2014 at 07:42 AM

    Hi David,

    That should work. Are you sure you're using the correct grid id's to identify the grid?

    Can you post the code you're using?

    Cheers.


    Best regards,

    Pedro Magueija


    View Pedro Magueija's profile on LinkedIn

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      It was confirmed by SAP that SetRowEditable is not available on custom grids on a system form. I have had to use SetRowBackColor to make it look disabled and then am using a combination of trapping the click and gotfocus events to move the focus from a disabled row to an editable row as the user navigates via mouse our keyboard. I will add a request to have this method become available on system forms in the Idea Place.

      Thanks,

      David

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.