Other [Web][SithasoDaisy] Version 2.25 Beta Available

Hi Fam

I've been testing and enhancing some things on the latest version of SithasoDaisy and a beta version is available, V2.25 for testing.

PLEASE POST YOUR QUESTIONS HERE about any issues you enquire with existing applications. Some stability issues were discovered and fixed on this version and these might result in some minor breaking changes or none, depending on your application. Most of the issues were related to getters / setters with same names as global variables.

This is a BETA version, please ensure you backup your projects and current version of SithasoDaisy, this should not be used in production environments, and you are expected to test your applications thoroughly should you use it. We are currently testing all our applications too.


What have we been doing so far? Here are some interesting things we have been speaking about.



















Enjoy!
 
V2.24 vs V2.25

I will detail here the changes that were made in the Demo App to work with V2.25

1. Add this sub to pgIndex

Code: Copy
Sub ToggleDrawer
    appdrawer.Toggle
End Sub

2. To center column contents when using SDUICol, use

Code: Copy
SDUICol.CenterChildren

3. To set a SDUIRow to Absolute, use

Code: Copy
SDUIRow.Absolute

4. To set the title of the SDUIToolBar, use

Code: Copy
SDUIToolBar.TitleCaption = "?"

5. To set the Width / GridCols for SDUIRow, use

Code: Copy
SDUIRow.Width(?) or
SDUIRow.GridCols(?)

6. To set SDUILabel TextSize / TextAlign then use

Code: Copy
SDUILabel.TextSize(?)
SDUILabel.TextAlign(?)

7. Filtering on the same column in pocketbase. Just suffix the column with 'anything' for the filter to work. This is because the filter is based on a key value pair. This way it makes it unique. For example we want to query the checkindate column using >= and <=, so we used .start and .end on the filters.

Code: Copy
dbbeneficiaryattendance.CLEAR_WHERE
    dbbeneficiaryattendance.ADD_WHERE_STRING("programmeid", "=", programmeid)
    dbbeneficiaryattendance.ADD_WHERE_STRING("checkindate.start", ">=", sstartdate)
    dbbeneficiaryattendance.ADD_WHERE_STRING("checkindate.end", "<=", senddate)
    banano.Await(dbbeneficiaryattendance.SELECT_WHERE1)
'

8. Filter pocketbase column using like and or clause. I wanted to search on 2 columns.

Code: Copy
dbbma_beneficiary.CLEAR_WHERE
            dbbma_beneficiary.ADD_WHERE_STRING("firstname", "like", txtlastname.Value).WHERE_OR(0)
            dbbma_beneficiary.ADD_WHERE_STRING("lastname", "like", txtlastname.Value)
            banano.Await(dbbma_beneficiary.SELECT_WHERE1)

This will pick anything where firstname or lastname is like some word.
 
Last edited:
Back
Top