Update treegrid.js

Only use the first item to set the columns is not right. All the follow up fields will only use the field from the first item in the grid, which will give a rendering issue of the item and link.