How can I get the value of the fields properity ot the grid?

How can I get the value of the fields properity ot the grid ?
For example ,in the example of the 03_edit.html of the directory grid , I want to get the the value of the id in each row .

Second question , I want to define the size of the field in the grid ,how can I do this ?
The code is blow :

$$("id").define("width",1000);

the code doesn’t work ! I cann’t tell my code right or wrong .

Any help would be appreciated !

$$('mygrid').config.fields["id"].width = 100; $$('mygrid').render();

Thank you very much , Stanislav! :slight_smile: