hello
in sfgrid when i click on add button to add new row sfgrid fire refresh action and add form not showing and when i again click on add button the form appears
REQUIREMENT:
i have 3 grids my second and third grid will update when i click on its parent (previous) grid row and i am using browserLocalstorage with JS interop so i use OnAfterRenderAsync(bool firstargumrnt) event
NOTE: also check attachments for better understanding
public List<TItem>? GivenDataOne { get; set; }
protected override async Task OnAfterRenderAsync(bool first)
{
if(ActionState == "Add" || ActionState == "Save")
{
return;
}else{
if(GivenDataOne.Count() == 0 ){
GivenDataOne = await HttpService.Get<TItem>(url,token)
}
}
Attachment: ButtonClickImages_c5870c3f.zip