Also, how do I costumize the edit view (etc. drop down menus, filed size). The input text fields are enormous. Using set max length does not work. It prevents the text larger then set to be inserted (but only on submit button click it rases an error - is it possibel to create an on the fly validator for field ) but size of fileds is still too big.
On Tuesday, July 15, 2014 3:58:17 PM UTC+2, Anthony wrote: > > On Tuesday, July 15, 2014 6:58:28 AM UTC-4, Yebach wrote: >> >> Hello >> >> I am using SQLFORM smartgrid. My child table field is not shown on my >> form (status.s_code). Why? >> > > Can you show your models? Does the child table have a field of type > "reference" that refers to the parent table? > > >> >> Also. If I (user) click(s) on edit, all fields are editable. how do I set >> which fileds are or can be editable and which one not. >> > > You can set the readable/writable attributes of the fields at any point > before generating the grid. > > >> Is it possible to create a form that is click in editable (like excel?), >> so u don't have to open another window? >> > > Not out of the box -- you would have to code that yourself. > > Anthony > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.