Good morning. I've encapsulated a TelerikGrid in a component. I would like to pass to this component the "Data" parameter to be assigned to the encapsulated TelerikGrid. I haven't found which type to define for the parameter "Data" to be received.
Example of TelerikGrid encapsulated in the component, I would like to know what type must be the parameter "ReceivedDataParameter". (I've put ??? in the code to show the information I need). Thank you.
<TelerikGrid Data=@ReceivedDataParameter></TelerikGrid>
@code {
[Parameter]
public ??? ReceivedDataParameter { get; set; };
}
Hi, did you manage to encapsulate the GridColumns component, too? If so, could you tell how?
Currently I've not tried yet. I've understood that is needed to use "typeparam" in the component to have a generic data to pass and "renderfragment" to inject in the component the razor part of the rows, I think I'll try in the next days.