CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Align Client failure

General discussion

by etwoss » 15 May 2014 14:04

Hi

I have a tabcontrol in a region (the regions has no alignment) with two tabs, both tabs have a region and the top and a grid, align client
I don;t know when this started but now i have the problem that if i select the second tab suddenly the grid 'grows' out of the tab as you can see in the image.

i tried to replicate this in a small demo but there all works fine

Any idea what can be the problem?

Eric

Grid dfm

Code: Select all
        object gridOrderItems: TIWCGJQGrid
          Left = 1
          Top = 32
          Width = 975
          Height = 599
          TabOrder = 23
          Version = '1.0'
          Align = alClient
          JQGridOptions.ColModel = <
            item
              Align = gaRight
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Idx = 'ID'
              Name = 'ID'
              Search = False
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Width = 80
              Caption = 'Ticket'
            end
            item
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Idx = 'OrderStatus'
              Name = 'OrderStatus'
              Search = False
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Width = 250
              Caption = 'Status'
            end
            item
              Align = gaRight
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Idx = 'OrderStart'
              Name = 'OrderStart'
              Search = False
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Width = 125
              Caption = 'Time'
            end
            item
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Idx = 'ProductDesc'
              Name = 'ProductDesc'
              Search = False
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Width = 250
              Caption = 'Product'
            end
            item
              Align = gaRight
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Idx = 'Price'
              Name = 'Price'
              Search = False
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Width = 80
              Caption = 'Price'
            end
            item
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Idx = 'OrderText'
              Name = 'OrderText'
              Search = False
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Caption = 'Your Comment'
            end
            item
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Fixed = True
              Formatter = gcfControl
              FormatOptions.ControlTemplate = btnCancel
              Idx = 'Cancel'
              Name = 'Cancel'
              Resizable = False
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Sortable = False
              Width = 30
              OnUpdateCellControl = TIWCGJQGridOptionsColModel6UpdateCellControl
            end
            item
              EditOptions.DatePickerOptions.DateFormat = 'mm/dd/yyyy'
              EditOptions.CustomElements = <>
              Hidden = True
              Idx = 'PriceHidden'
              Name = 'PriceHidden'
              SearchOptions.SOpt = [gsoEqual, gsoNotEqual, gsoBeginWith, gsoDoesntBegin, gsoIsIn, gsoIsNotIn, gsoEndsWith, gsoDoesntEndsWith, gsoContains, gsoDoesntContain]
              Caption = 'Hidden'
            end>
          JQGridOptions.ForceFit = True
          JQGridOptions.Height = 545
          JQGridOptions.LoadUI = gluiDisable
          JQGridOptions.RowNum = 25
          JQGridOptions.SubGridModel = <>
          JQGridOptions.ViewRecords = True
          JQGridOptions.Width = 973
          JQGridNav.Add = False
          JQGridNav.Del = False
          JQGridNav.Edit = False
          JQGridNav.Refresh = False
          JQGridNav.Search = False
          JQGridNav.FormsOptions.SearchOptions.SearchOperators = <>
          JQGridCustomButtons = <>
          JQGridProviderType = 'Cells'
          JQGridProvider.Rows = <>
          JQGridToolbarSearch.DefaultSearch = gsoContains
          JQDragAndDropOptions.ConnectWith = <>
          OnSort = gridOrderItemsSort
        end
You do not have the required permissions to view the files attached to this post.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 15 May 2014 14:11

Hi

Prolem only with Chrome, not with IE

No javascript error
When i go to debugmode F12 and back,the form shows ok and stays ok when switching tabs

Eric
You do not have the required permissions to view the files attached to this post.
Last edited by etwoss on 15 May 2014 14:14, edited 1 time in total.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Jorge Sousa » 15 May 2014 14:14

check the property CGScrolStyle, to disable the scrolls
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by etwoss » 15 May 2014 14:34

Hi

added

CGScrollStyle = cgsbsNone

to the tab , no solution.

After that removed and set on the region , also no resilt

The probkem is also on IE

perhaps a good idea to take a look with me


Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58


Return to General - Archive

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.