PDA

View Full Version : Problem with auto resize and DataGrid plugin



Solmos
11-08-2007, 03:14 PM
As I resize the auto-size of the columns of datagrid?

On resize evenT?

Dermot
11-08-2007, 04:37 PM
You were given the solution in your other post. You said it did not work because of an error. What was the error? Did you change the name of the datagrid to match yours?

bule
11-08-2007, 04:45 PM
I just tried this:

DataGrid.ExpandColumnsToFit("Datagrid1", true, true);

And it works. As Dermot is pointing out, is your datagrid object named "Datagrid1" or something else? If it's something else, change the upper code.

You said:

If use this code, aplication not work, because detects one error and close...

What kind of error?

Solmos
11-09-2007, 11:51 AM
Please test this example...

Is needed the datagrid plugin...

bule
11-09-2007, 02:32 PM
Your archive is corrupted.

madsen
11-09-2007, 03:04 PM
Your archive is corrupted.

The archive seems fine to me, probably he used latest version for the RAR. I repacked for you in good old ZIP :)

Solmos
11-10-2007, 02:23 PM
Please test!

madsen
11-10-2007, 03:11 PM
I don't have the DataGrid plugin so I would be unable to test, the only help I could provide was to repack the archive.

Probably some helpful folks around will go into testing :)

bule
11-11-2007, 04:08 AM
Yes this seems to be a bug, I'm not sure why.
There is a workaround, however:
Add another empty page as a first page, and add
an action on it's OnShow event to jump to your page.
Also, add DataGrid.ExpandColumnsToFit("Plugin1", true, true);
to the end of the OnShow event.

Here:

Solmos
11-11-2007, 03:35 PM
Not work this example... is error in AMS...

bule
11-11-2007, 03:49 PM
What kind of an error?
(You need to replace your am7 file with the one in the archive.)

Solmos
11-12-2007, 09:02 AM
http://img99.imageshack.us/img99/6596/13691979ut3.png

http://img404.imageshack.us/img404/4507/52736975rg9.png

http://img409.imageshack.us/img409/4343/66543875wn9.png

:huh:huh:huh

Solmos
11-18-2007, 05:45 AM
HELP!!!!!!!!!!!! :huh:huh

alban
11-18-2007, 08:55 AM
HELP!!!!!!!!!!!! :huh:huh

try media studio 6 :P