the best way to refresh your grid is to "set its dgdata" property to the array you want.
i've used the grid extensively and over the years have gone through all sorts of anomalies. Hitting refresh on inspector seems like it should work..... but with v9 and other possible issues...i wouldn't trust it ........, setting the dgdata is the only way to reset. if it still doesn't work then there is something wrong with the code on your templates. Good luck On Sun, Dec 9, 2018 at 9:08 AM Sannyasin Brahmanathaswami via use-livecode < use-livecode@lists.runrev.com> wrote: > Continuing to work on Datagrid > > I can't figure out refresh. (9.2 stable) > > 1) I click on the inspector for the datagrid > 2) Click on row template > 3) Select to group > 4) Edit the group, > 5) Make my field "rowName" non-opaque with a few light text color. > 6) A linear gradient to background. It is opaque and visible > 7) Save the group rowTemple > 8) Hit refresh on the inspector for the datagrid > Result: I see the nearly white text of the fld "rowName" but the > background is white and does not show the gradient. Thinking "hmm, datagrid > does not support gradient.." switch the background color to simple black, > visible, opaque --*still* it does not appear refresh? > > What do I do to refresh to datagrid? see > > http://wiki.hindu.org/screenshots/datagrid-refresh.png > > > Also, secondary question: where does the rect of pControlRect and > pWorkingrect come from? > > If I put > > on LayoutControl pControlRect, pWorkingRect > put pControlrect&CR&pWorkingRect > > I get the same result. It seems we don't have control over these rects? > > 81,532,341,577 > 81,532,341,577 > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode