Commit 239acafd authored by Benoît Minisini's avatar Benoît Minisini
Browse files

WebTable: If the Display property is negative, then the full contents is displayed in one shot.

[GB.WEB.GUI]
* NEW: WebTable: If the Display property is negative, then the full contents is displayed in one shot.
parent 072bd1cc
Pipeline #360670382 passed with stage
in 26 minutes and 34 seconds
......@@ -168,6 +168,8 @@ End
Public Sub _Render()
Dim iCount As Integer
If $hColumns.Count = 0 Then Return
Print "<div class=\"gw-table-contents\" onscroll=\"gw.table.onScroll("; JS(Me.Name); ",true);\">";
......@@ -179,7 +181,13 @@ Public Sub _Render()
If Not $bNoHeader Then $hColumns._Render()
PrintBody(0, Min($iDisplay, $iCount) - 1)
If $iDisplay < 0 Then
iCount = $iCount
Else
iCount = Min($iDisplay, $iCount)
Endif
PrintBody(0, iCount - 1)
Print "</table>"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment