Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Cannot set columns.filterable.cell.template to function

$
0
0

I have a grid that I initalize via the .NET wrapper. I can do the following:

columns.Bound(r => r.SampleColumn).ClientGroupHeaderTemplate("#= myFunction2(data, 50) #")

But I can't do this:

columns.Bound(r => r.SampleColumn).Filterable(f => f.Cell(c => c.Template("#= myFunction1(data, 100) #")))

I get a JS error. Any idea why? I would like to pass in an additional variable on the view.


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>