var keyGen = function(row, element){
return row['_type']+String(row['_id'])+String(element);
}
keyGen is to give unique key to Cell
s in the data table
var keyGen = function(row, element){
return row['_type']+String(row['_id'])+String(element);
}
rowKeyGen is the same for rows in the datatable
var rowKeyGen = function(row){
return row['_id']+row['_type'];
}
dropdownKeyGen is for the dropwown in the settings button.
var dropdownKeyGen = function(selection){
return 'dropdown'+selection;
}