Jump to content
uniGUI Discussion Forums
Sign in to follow this  

UniStringGrid Cell number limit ??

Recommended Posts


I've have a big unistringgrid (I know, it's not necessary a good idea)

She have an ajax event to detect on which cell the user has clicked


This one has 111 columns.


At the begin there was arounf 100 rows and all was working good


Then there is 320 rows and i got an error message :


gridinst:TunistringGrid:Config Option:O108

fxcols:0 is refering a previous request

It's not allowed in AJAX request or JS Handler

Use equivalent public property or Methode Instead.


When executing step by step, this message appears only when the grid is showing (not when it's loading)


If I limit for exemple to load only 200 rows (whatever if there are the 200 first or the 200 last of my data, and i got less than 400 rows, so all data are tested), then everything is fine.


So, i begin to ask if there is a limitation on the cell number in unistringgrid (like 32768 cells for exemple) perhaps in the ajax event mechanism ?


What solution do I have ? (using unidbstringgrid will not be a solution here)


Thank's for reply



Share this post

Link to post
Share on other sites

It's funny :

I've found the solution :

It's in my dawcell procedure :

I have a test here to align right or left

Since the begin of pascal, i use the val function to test if a string is a valid number or not.

But, val make a invalid float error when the number is to high even if the value is extended !

So, replacing val by trystrtofloat with my extended value works fine.

Sorry for this message but if someone got the same error in a unistringgrid, he will find here a possible solution.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this