How to set license in blazor WASM

Closed
Aekasak Amornmaturapot asked on May 6, 2024

Please provide example code 

I try this for locahost but still in trial

<FlexmonsterComponent @ref="flexmonster"
Toolbar=true
Width="100%"
Height=900 LicenseKey="XXXX-XXXX-XXXX-XXXX">
</FlexmonsterComponent>

1 answer

Public
Aekasak Amornmaturapot May 6, 2024

I got it.

protected override async void OnAfterRender(bool firstRender)
{
flexmonster.LicenseKey = Flexmonster_LicenseKey;
flexmonster.Load("https://.../production.json");
flexmonster.OnCellClickEvent += CellClick;
flexmonster.OnCellDoubleClickEvent += CellDoubleClick;
}

Thank

This question is now closed