Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Haytam Zanid
    @zHaytam
    That's why Server Side Pagination exists
    Porkopek
    @porkopek
    no, of course, just the paginated size
    you do db.Take(10)
    Haytam Zanid
    @zHaytam
    Well that's what ServerData is for no?
    Except it's general so that you can use it however you want, which is nice
    Porkopek
    @porkopek
    but why do you even need it? You get the data when the search term changes
    Haytam Zanid
    @zHaytam
    Imagine having a Blazor WASM app + A backend API with a paginated endpoint
    With MudTable and Items, how do you use it
    Porkopek
    @porkopek
    that's my use case
    I do call the api myself
    my paginated API
    Haytam Zanid
    @zHaytam
    And set Items ?
    Porkopek
    @porkopek
    yes
    onInitialized
    and on change
    Haytam Zanid
    @zHaytam
    Is there an event in MudTable for page change?
    Porkopek
    @porkopek
    no, I just have a search box under each header
    when the search box changes
    Haytam Zanid
    @zHaytam
    Oh, right
    Well it's more obvious in these scenarios
    Pagination/Filtering, it's better to have the logic in one place (ServerData) rather than you hooking up into events and calling the API etc
    It's just convenient
    Porkopek
    @porkopek
    but pagination logic is in the server
    I just know what page I want
    Haytam Zanid
    @zHaytam
    By logic I mean the API call and which page to look for etc
    Logic is prob a bad name
    Porkopek
    @porkopek
    For me, I see there are too many options doing the same thing
    I think Blazor lacks the perspective that what is front-end
    not Blazor
    Blazor users
    because everybody codes in back-end too
    A front-end framework just have to provide callbacks, endpoints
    Ricardo Valero de la Rosa
    @RicardoValero95
    I got stuck with the sorting of MudTable when I found out it doesn't support multiple columns.
    I have the searchboxes under the headers, they don't look great but I'm getting there.
    I will try to use MudSimpleTable and create my own pagination and sorting components. Thanks.
    Porkopek
    @porkopek
    We should publish an more elaborated example of MudSimpleTable
    I'll make one when I have more time
    On another level, today somebody shared this on Twitter, that I found great
    nice CSS gradients
    Dominik van Megchelen
    @relentless92_gitlab
    so how are we supposed to position a FAB button to the bottom right corner of a page?
    Porkopek
    @porkopek
    make it Style="position:fixed;bottom:0;right:0;"
    Dominik van Megchelen
    @relentless92_gitlab
    ah, fixed it was. i tried absolute, that didnt work. thank you!
    Porkopek
    @porkopek
    position can be tricky
    Dominik van Megchelen
    @relentless92_gitlab
    yea. someone know what i should substitute "DialogUsageExample_Dialog" in the Dialog examples with? intellisense doesnt recognize this even if i just copy the basic example. cant get the hang of it
    Borislav Nikolov
    @Sesi0
    Can MudDatePicker and MudTimePicker's width change globally? Because it has unnecessary space between text and icon.
    image.png
    Porkopek
    @porkopek
    It seems to me that it is a bug. Nor Style nor Class parameters are passed down to base component MudPicker. Could you file an issue? It should be easy to fix, if you want to handle it
    Borislav Nikolov
    @Sesi0
    Yes I will
    Meinrad Recheis
    @henon

    yea. someone know what i should substitute "DialogUsageExample_Dialog" in the Dialog examples with? intellisense doesnt recognize this even if i just copy the basic example. cant get the hang of it

    it is the name of the razor file of your dialog, so if your dialog is in DialogUsageExample_Dialog.razor you would use that.

    The examples are confusing in that they say Dialog.razor when in reality the razor file has a different name
    Dominik van Megchelen
    @relentless92_gitlab

    yea. someone know what i should substitute "DialogUsageExample_Dialog" in the Dialog examples with? intellisense doesnt recognize this even if i just copy the basic example. cant get the hang of it

    it is the name of the razor file of your dialog, so if your dialog is in DialogUsageExample_Dialog.razor you would use that.

    perfect, thank you. they should at least mention that in the examples