Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    CubeGrid edit mode : some problem

    Hello,

    I have some problem with the cubegrib on edition mode :

    My configuration : smartGwt version 3.0p_2012-07-17 , and chorme last version.

    I need to create a cubeBrid , where it's not always value filled from database : sometime it could be a new dimension.

    It's ok on read mode, it's no problem but on creation mode it's more problem :
    1 - when i edit displayed value which are not on my DB, my datagrid is freezing.
    2 - when i click for edit data, scroll bar are displayed, upper cells. In this case i can't see my input
    3 - We need use this component for massive use, we can't ask to user always made bouble click for made input. How can i made next cells selected for edition when i validate value?
    4 - Is possible to use a key command forchange on edition mode, like enter ?

    I have isolate the behaviour on the cubegrid enclosed.

    Regards.
    Attached Files

    #2
    For keyboard handling, see all the canEdit-related properties - these are inherited from ListGrid.

    As far as the issues, could you describe the problems more completely -

    1. what do you mean by "edit displayed value which are not on my DB". Do you mean editing cells for which you have not provided CellRecords? This isn't supported - you would need to provide CellRecords with blank values for the valueProperty

    2. "scrollbar are displayed" - This could be caused by CSS styles you have added to the application - see the FAQ. If that doesn't help, can you post a screenshot of what exactly you are seeing?

    Comment


      #3
      2. see the enclosed print screen : this scroll bar appear only on edit mode. otherwise there are not displayed. We don't touch the original CSS.

      4. I din't found the exemple for the use of keyboard command,could you copy me the direct link please? For when i press enter go to next cells like an enter ?
      Attached Files

      Comment


        #4
        2. we're seeing the scrollbars problem and should have it fixed within a few days

        4. just setting canEdit:true enables downarrow to go down and tab/shift-tab to go right/left. Use enterKeyEditAction to control what happens when enter is pressed.

        Comment


          #5
          The problem with scrollbars appearing should be fixed for tomorrow's builds of 3.0 and 3.1.

          Comment


            #6
            Could you made a few change more user friendly : add the left and right arrow for navigate on the cubegrid, it's not natural for user to press shift tab for going to the left...

            Comment


              #7
              That doesn't make sense, it would prevent you from navigating within the text you are editing.

              Comment

              Working...
              X