Re: Grid custom no field

2018-04-29 Thread abangkis
Hi guys, so i finally made the GridIndex component. But something is bothering me and I wonder if I can improve it. The component still need the page to implement an idx property, i wonder if I can pull it directly from grid rowIndex parameter. Here's the code for my component. page tml pag

Re: Grid custom no field

2018-04-20 Thread abangkis
Hi chris and geoff, I guess creating a component or mixin is the best approach. Thanks. On Thu, Apr 19, 2018 at 5:12 PM, JumpStart < geoff.callender.jumpst...@gmail.com> wrote: > Or a mixin? > > http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/ > creatingmixins > htt

Re: Grid custom no field

2018-04-19 Thread JumpStart
Or a mixin? http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/creatingmixins http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/gridbeanmodel1 Geoff > On 19 Apr 2018, at 2:20 pm, Chris Poulsen wrote: > > Create a component? > > -- > Chris > > On

Re: Grid custom no field

2018-04-18 Thread Chris Poulsen
Create a component? -- Chris On Thu, Apr 19, 2018 at 5:53 AM, abangkis wrote: > Hi, when adding a custom no field to my grid, to show the no of the actual > row, i declared an int on the page and calculate the value by multiplying > the variables in the grid like the code bellow. > > Is there

Grid custom no field

2018-04-18 Thread abangkis
Hi, when adding a custom no field to my grid, to show the no of the actual row, i declared an int on the page and calculate the value by multiplying the variables in the grid like the code bellow. Is there a way to do this automatically, since for now i'm doing it manually by copy and pasting the