Hello,
Is there any documentation on the grid and the different columns, I have looked at you sample code (github.com/.../Infragistics.Blazor.Alpha), but I'm not able to figure out how certain column types work.
Kind Regards,
Hello Michael,
At the moment, there does not exist any public documentation for the Blazor product as it is still in Alpha. Documentation for Ignite UI for Blazor will become available after the full public release of Blazor, which should be coming very soon.
In the meantime, I may be able to help you in understanding how certain column types work. What column types are you having difficulty with?
Please let me know if you have any other questions or concerns on this matter.
Hello Andrew,
I'm trying to put a button in my grid, but I need to pass a property in the onclick event. However I can't figure this out. How do I access the object? Below you can find what I have tried.
<DataGrid DataSource="@exceptions" AutoGenerateColumns="false" SelectionMode="@GridSelectionMode.SingleCell"> <TextColumn PropertyPath="ApplicationName" /> <TextColumn PropertyPath="Id" /> <TextColumn PropertyPath="ApplicationUser" /> <TextColumn PropertyPath="MachineName" /> <TextColumn PropertyPath="ExceptionMessage" /> <TextColumn PropertyPath="EnvironmentName" /> <TextColumn PropertyPath="Severity" /> <TemplateColumn> <Infragistics.Blazor.Controls.DataContext> <button @onclick="@(() => OpenException(data.Id))">Detail</button> </Infragistics.Blazor.Controls.DataContext> </TemplateColumn> </DataGrid>
I have been discussing this with our development teams, and unfortunately for the moment, the TemplateColumn is not yet functional and so there really does not exist a way to do this right now.
Please keep your eyes peeled for the full public release of Ignite UI for Blazor coming soon.