grid add - default number of rows

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
servgas
User
Posts: 48

grid add - default number of rows

Post by servgas »

Hi, I am using the grid add option. Is it posible to change the default number of rows , I get5, but I would like to show start with only 2 or 3 records

thank you


mobhar
User
Posts: 11660

Post by mobhar »

Simply put this code in "Page_Load" server event of the "List Page":

$this->GridAddRowCount = 2;


wungaz
User
Posts: 214

Post by wungaz »

Thank you so much - looks great. was looking for this


Chris
User
Posts: 162

Post by Chris »

There is an Advanced Setting that sets this globally, 'Grid Add row count'


wungaz
User
Posts: 214

Post by wungaz »

$this->GridAddRowCount = 2; would be the best if you want to change the number of rows dynamically


Post Reply