Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ricardo
    @ricardoromaobr
    Sidebar component does'nt has a background property to change background color ?
    Mladen Macanović
    @stsrki
    @ricardoromaobr i'm on vacation so I cannot check it. But I think you can do it by setting the css root variable. You can see in the source code
    @intiharj currently only an array is supported. I think I can consider adding support for backgroundColor in one of next versions
    Ricardo
    @ricardoromaobr
    Yes, I made it. :)
    Ricardo
    @ricardoromaobr
    Hi ! I'm looking DataGrid and I not see how to page data from database?
    And looking on example I see that it use a list and page them. If a take a number of rows on database DataGrid will not now the number of page to create page component. You thing something about it?
    *Do yout think something about it?
    Ricardo
    @ricardoromaobr
    maybe a new component DataPage that wrap a DataGrid and configure it get a new list every time tha page change
    I'm think about it, I don't know if I can do it:)
    Ricardo
    @ricardoromaobr
    Oops!Let me write again. I think that can be write a new component DataPage that would wrap a DataGrid and configure it to get a new collection every time the page change and DataPage will need to subscribe to some events like sort and others that need new data to be showed. I don't know, I'm think how it would be made fast
    WebForms has something like it. If I remember :)
    Mladen Macanović
    @stsrki
    @ricardoromaobr I think it should already be possible to do. I will try to see what can be done and will let you know
    Ricardo
    @ricardoromaobr
    @stsrki Ok, I'm wainting for your answer
    Ricardo
    @ricardoromaobr
    @stsrki There is something new for me about DataGri for page data from database?
    Mladen Macanović
    @stsrki
    @ricardoromaobr So I looked into DataGrid and there is going to be some changes to make it work. Basically once I fix this issues you could use a IQueryable to connect with the database as a data-source. When I first created DataGrid there was some issues with mono runtime so I had to have some workarounds that are now stopping us from using large data-source. Since I'm already behind the schedule with v0.8.7 I will probably move this to the next v0.8.8. Hope you will understand.
    Ricardo
    @ricardoromaobr
    @stsrki In general people use a DDD that use a pattern like Repository. So this object will make the pagging and DataGrid need to be skill to get the number of lines of the page (5, 15, 50, 100), normal a little number of lines (the pagesize). But supose the number of records is 5000. And when pagechange event ocorreded the develop call a repository again to get a new page of data. Will be people that will use a list like today and want that it is pagging and will the case that will page from the server.
    @stsrki Like DataTable. it have two behavior. One that take the full data and page it and another that take data from the server.
    Ricardo
    @ricardoromaobr
    Yea! I understand.
    Ricardo
    @ricardoromaobr
    Hi, I comment with some develop on visual studio for mac, about to create a template project with blazorise. They say that it looks pretty cool. I'm waitting for it news releases
    image.png
    Maybe it would be made :)
    Mladen Macanović
    @stsrki
    @ricardoromaobr I agree, that would be really great and not that hard to do, I guess
    Wanna contribute :smile: ?
    Ricardo
    @ricardoromaobr
    No, I thimk that not. I will be looking to it.
    It ist for Visual Studio For Mac, But I sugest for Visual Studio team on Microsoft to do it.
    I will ask again to know if they will do it
    Ooops ! What I ask to he is that the microsoft team do that for us. :)
    Mladen Macanović
    @stsrki
    In that case we'll just have to wait and see :)
    Maybe I can look it up after I finish current Blazorise version
    anknits
    @anknits
    Hello, Sorry if this is not the right place for feature discussion, but I couldn't find any. There's this plugin for chartjs that let's you zoom https://github.com/chartjs/chartjs-plugin-zoom
    I was wondering if this is in the list of planned features and / or what I would need to do in order to use it. Should I fork the repo, install the plugin and write a wrapper? What would be the best way to go about it?
    Mladen Macanović
    @stsrki
    Hi @anknits
    I have a plan to implement chartjs plugins sometimes in the future. But with all other things planned I don't know how long it will be. I guess sometime after the v0.9.x. Now I don't much about the zoom plugin but it seems all you need to do is to add it to the chart config. I think you can do it by playing with javascript.
    anknits
    @anknits
    Thanks for your comments @stsrki . I understand it can be a lot of work especially when there are few contributors.
    I have decided to use JS all the way. I hope I can get that working.
    Mladen Macanović
    @stsrki
    Hey guys. Just a quick note. The new version of Blazorise is upgraded to the latest .NET Core 3.1 preview2 and is ready for download.
    release notes: https://blazorise.com/docs/release-notes/release0863/
    Djinnet
    @djinnet
    Hello. Ehm... I am not sure if I can ask questions about blazorise charts here, since it's an extension, but please tell me if it's the wrong gitter to ask. My question is: My blazor app is server side blazor and I have tried to set up charts quite similar to the docs. The only different is the data and I am using piechart instead of linechart. I keeps getting "Object reference not set to an instance of an object" in OnAfterRenderAsync function and I can see the chart are null in breakpoint, but it's chart class object are referenced in the component, so technically it shouldn't be null. What do I need to do to solve this issue?
    Mladen Macanović
    @stsrki
    @djinnet can you show me a sample code so I can have a look?
    Ricardo
    @ricardoromaobr
    @djinnet The others components is working?Make a test. If the Startup class is not correct configured nothing will work.
    Vitaliy Zayarniy
    @UltWolf
    Hi, all, sorry, but how i can customize blazorise charts and make my line chart without rectangle in the top of graph
    ?
    Djinnet
    @djinnet
    @stsrki Sure, I'll try to make one. And @ricardoromaobr I haven't check if others components are working, but the startup class have the basic blazorise services and app code like in the start docs. However I couldn't find any docs on register charts in startup, but the charts docs said I only need the import.razor and the host.cshtml (since it's server side), which I have put these tags in place.
    Djinnet
    @djinnet
    Interesting enough, when I was building the sample code, it works fine if I don't use AuthorizeView. Is it possible that could be the issue? Btw Sample code: https://github.com/djinnet/SampleBlazorise
    Mladen Macanović
    @stsrki
    @djinnet Chart is working without registrations in Startup
    Djinnet
    @djinnet
    But it still throws me errors whenever I am using AuthorizeView together with chart.
    Djinnet
    @djinnet
    Okay. I forgot to add the AuthorizeRouteView stuff in the app.razor and the sample now works with authorizeView, but it still throws errors in my real code. I am really confusing of why this happens. That is really interesting when almost both of them are the same, but only the method to get the data are different.
    Mladen Macanović
    @stsrki
    @djinnet I'm now at work so I will try the demo when I get home
    Djinnet
    @djinnet
    Oh, my real code works fine now. I don't know what is the cause, but somehow copy and paste code from the sample demo to my real code solved the issue. I'll look into why it caused that strange issue when I got time, but for now I am glad it's working now. Thank you for your help. :)
    Mladen Macanović
    @stsrki
    :thumbsup:
    Mladen Macanović
    @stsrki

    After a long time the new version of Blazorise is finished and ready for download. Please look at the release notes for a full list of changes.

    Github

    Mladen Macanović
    @stsrki
    Just a quick fix for Blazorise 0.8.7 is released. link