Ismail
I believe the row object has a list/collection of cell objects in it.
With that being the case try a lambda expression to test if the current row has a cell with the alias of clickEventJs.
This is totally off the top of my head
@foreach(var row in Model.MyDataTypeGridAlias){
//Check that our row has a cell with clickEventJs
var clickJsCell = row.cells.SingleOrDefault(cell => cell.alias == "clickEventJs");
if(clickJsCell !=null){
//Do something with that value...
}
}
Datatype grid null cell test
How do i test if cell exists in datatype grid? I have
Where row is GridRow
However this gives key not found exception. I have also tried
Same error.
Any ideas?
Regards
Ismail
Ismail
I believe the row object has a list/collection of cell objects in it.
With that being the case try a lambda expression to test if the current row has a cell with the alias of clickEventJs.
This is totally off the top of my head
is working on a reply...