Datagrid Multiple Selection

Hey guys, I have a datagrid with multipleSelection, I added two attribute in the grid as shows:

image

I added an attribute in checbox's column as:

image

The variable Seleccion its a list of Solicitude Object

image

I followed your multiple selection demo and set a checkbox's column template to this:

image

when I run it, radzen display this error

error CS1503: Argumento 2: no se puede convertir de 'Microsoft.AspNetCore.Components.EventCallback<System.Collections.Generic.List<Sci.Models.Dbsci.VistaSolicitude>>' a 'Microsoft.AspNetCore.Components.EventCallback'

How can i fix it inside radzen? could you help me guys?

Hi @mario.rodriguez,

Try setting the Type of the Seleccion property to IList (instead of List). Your page property needs to be IList instead of List. Something like this:

Great, It works !!! I didn't know that property type i could change, usually type inferred was good for me....