B4J Library [Web][SithasoDaisy5] - Create WebSites & WebApps with the power of the Abstract Designer (OpenSource)

Mashiane

Expert
Licensed User
Longtime User
Upcoming changes... Version 5.58

Bug Fixes


  • AvatarPlaceholder - was not displaying properly
  • Page Navigation buttons on Table stability
  • Table AddColumn??? now checks if table column was already added and if so stops executing.
  • Fixed an issue with the dividers on the table
  • Fixed the table size property and how it works
  • Fixed functionality to update table schema at run-time e.g. clear & recreate headers and data and toolbar buttons.
  • Fixed table footer adjustments.
  • Fixed color for toggle and checkbox - default is success
  • Fixed svgrender icon resizing to be in accordance with daisyui sizing of sm/md/lg/xl

New Features

  • AvatarPlaceholder Enhancements to use AvatarColor & Abbreviations, both on Table & as own component.
  • SetColumnVisibleOnly - hide all columns in a table but show the named ones in a list.
  • Latest DaisyUI 5.1.24 with latest version of TailwindCSS with bug fixes from Creators.
  • Table & Modal now includes Icon that one can place at left of title.
  • Modal now can be placed as an inline component (uses card)
  • Management of SelectAll / DeleteAll states now internal
  • Updates SVGRenderer javascript library.
  • Exploring ListViewMode where the table can be used as a Custom List View.*
  • Exploring Column Filters*
  • Enhanced how Table SetItemsPaginate works
  • Enhanced how Table ShowPage works
  • Enhanced how Table SetItems works
  • When adding columns, those with SetColumnHidden initially also remain hidden when you call table.RefreshColumnVisibility

Tip

  • When trapping RowChange event, instead of calling SetItemsPaginate, assign table.Originals to database.Result, when row data actually changed.
Here is example code for mouthing records from the database the bAfterChange when true means a rowChange was made, when false reload everything.

B4X:
Sub MountFields(bAfterChange As Boolean)
    dbFields.Initialize(Main.DBName, "fields")
    dbFields.SetSchemaFromDataModel(app.DataModels)
    dbFields.CLEAR_WHERE
    dbFields.whereEqual("projectid", Main.ProjectID)
    dbFields.whereEqual("tablename", Main.TableName)
    dbFields.orderBy(Array("proppos"))
    BANano.Await(dbFields.SELECT_WHERE1)
    If bAfterChange = False Then
        BANano.Await(tblFields.SetItemsPaginate(dbFields.result))
    Else
        tblFields.Originals = dbFields.result
    End If  
End Sub



To be continued...
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…