I am trying to update the source of the datatable. Below is the sample code I have been using. It was working fine with bokeh 2.2.3 but after I upgraded to the recent version it is only displaying the first row. Looks like it is not updating the index array. I have tried several things but am unable to update the index. Or I am not sure if I am missing something
showevents_cb = CustomJS(args={'source': source, 'events_source': events_source},
code="""
var events = events_source.data;
for (i = 0; i < del_arr.length; i++) {
events.index[i] = i;
if (i < del_arr.length){
events['loss'][i] = del_arr[i];
}
else{
events['loss'][i] = '-';
}
}
events_source.change.emit();
)





