Hello all.

I'm making 2 buttons, both act with a Datagrid. The first button
implements the search task, and the second one makes that all columns
change their size to fit the longest text of each column.

I've some questions about these themes.

How can I select the first column that contains the searchd text?

How can I get the size in pixels from a String? Or, perhaps, there is
any other way to adjust column width.


Can you give me any idea about this?

Thanks a lot in advance.

Reply via email to