B4J Tutorial SithasoDaisy TailwindCSS UI Toolkit: Q & A

Enrico Fuoti

Active Member
Licensed User
Longtime User
Hello Mashiane,
i have a few questions regarding tables.
1) is it possible to avoid the gap that separates the rows in a table?
2) is it possible to change font and/or text size for table rows ?
3) is it possible to give the table a "grid" type format (excel style) ?
4) is it possible to give the table a "zebra" format, specifing the colors?
if not, Can any of the above be implemented in future ?
 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
Will keep you posted, some may not be possible.
 

Mashiane

Expert
Licensed User
Longtime User

Mashiane

Expert
Licensed User
Longtime User

Mashiane

Expert
Licensed User
Longtime User
Is there a way to create this element ?
I would like to have it to insert it in a navbar…
Been looking, however I just got reminded of the carousel.


The one at the bottom seems to be close to what you need. Perhaps then just resizing the carousel items to feet specific developer could do.

Otherwise if we cant do that, will have to add something like this as a plugin as it does not come with SithasoDaisy. Is there perhaps a JS library on the net that you have seen that can meet your needs and we will have to add it for your use case?

This is outside the scope and will have to be developed to meet your specific needs.
 

sdleidel

Active Member
Licensed User
Longtime User
I have this Error:
Uncaught (in promise) ReferenceError: FormDataJson is not defined
at banano_sithasodaisy_sduishared.formfromjson (sithasodaisy.js:6888

That is the Code:
mdlSignIn.SetData(testdata)

I use V2...
 

Mashiane

Expert
Licensed User
Longtime User
I have this Error:
Uncaught (in promise) ReferenceError: FormDataJson is not defined
at banano_sithasodaisy_sduishared.formfromjson (sithasodaisy.js:6888

That is the Code:
mdlSignIn.SetData(testdata)

I use V2...
I think you need to update all the additional libraries. This is internal to V2 of the library and should not raise any issues.

If not, did you follow the update guide for 2.16? on the SithasoDaisy Library thread?
 

sdleidel

Active Member
Licensed User
Longtime User
I think you need to update all the additional libraries. This is internal to V2 of the library and should not raise any issues.

If not, did you follow the update guide for 2.16? on the SithasoDaisy Library thread?
Yes all is running and uptodate !
But the error is not gone…
 

sdleidel

Active Member
Licensed User
Longtime User
Can you paste your pgIndex.Initialize code here?
1:
    app.AddApp(Me, Main.AppName)
    app.PagePause
'    page.Root.Hide
    BANano.Await(app.UseStorage)
    
    
    'set theme
    themeName = $"${Main.AppName}_theme"$
    Dim ctheme As String = BANano.GetLocalStorage2(themeName)
    ctheme = SDUIShared.CStr(ctheme)
    Select Case ctheme
        Case ""
            app.Theme = app.THEME_LIGHT
        Case Else
            app.Theme = ctheme
    End Select
    'SDUIShared.ShowLoader
    'set the font of the app
    app.Font = "font-sans"

    app.PagePause
    'add a navbar to the content for PAGE
    CreateAppNavBar
    app.PagePause
    'add a drawer to the body
    CreateAppDrawer
    app.PagePause
    'add any other page not added to the drawer menu
    AddPages

    app.PageResume
    


    IsAuthenticated(False)
    pgSignIn.Show(app)
 

Mashiane

Expert
Licensed User
Longtime User
Please see the post I made Monday.

 

MichalK73

Well-Known Member
Licensed User
Longtime User
I sometimes have strange cases where after pressing a button with no code under it, the page closes and returns to the list of Laragon server applications. What could be the reason? There is nothing in the browser logs.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…