I am a newbie to implement arcgis js. Unfortunately, I didn´t get implement the dgrid. I don´t know that I am doing wrong. Below I wrote the code piece. I´ve an array kind of columns. My idea is after the implement of the columns, insert the data from "store" variable.
window.grid = new DataGrid({ bufferRows: Infinity }, "gridResultsDiv");
// layoutFields is the array of the columns for (var i = 0; i < layoutFields.length; i++) { var newColumn = [{ field: layoutFields.field, name: layoutFields.name, width: layoutFields.width }];