- Sun Mar 28, 2010 3:59 pm
#7008
Hi,
Does anyone know a way to limit the row number for a grid? Normally, users may enter as many rows as they wish, but what if they are expected to enter no more than 5 rows for instance? How can we accomplish that requirement?
I tried, controlling the maximum rows in a javascript function, which I assigned to grid's onaddrow event. But it was no success, because the function fires after the row has been added.
Any clues?
Regards.
Does anyone know a way to limit the row number for a grid? Normally, users may enter as many rows as they wish, but what if they are expected to enter no more than 5 rows for instance? How can we accomplish that requirement?
I tried, controlling the maximum rows in a javascript function, which I assigned to grid's onaddrow event. But it was no success, because the function fires after the row has been added.
Any clues?
Regards.