On 5 November 2010 15:42, mdipierro <[email protected]> wrote:
> Do the columns have label=T(...)? or do they have unicode in them?
> I think I know the problem...
Your question about the labels made me experiment. I removed the
labels from the gr02-definition and now I get a functional grid for
gr02 but not yet for 'teacher' . In both cases I cannot see the icons
at the bottom (background being white where it was black previously).
I suppose I have to do something about the css for this grid to get
the icons visible. Can you help me with that please?
My models:
db.define_table("person",
Field("surname", "string", default=None),
Field("name", "string", default=None)
)
db.define_table("teacher",
db.person,
Field("highest_qualification"),
Field("id_number",length=13),
Field("school"),
Field("gender"),
Field("cell", "string", length=15, default=None),
Field("grade"),
Field("domain"),
signature,
format = '%(surname)s, %(name)s'
)
Original gr02 (partial)
db.define_table("gr02",
Field("title_of_training", label="1.1 Title of Training"),
Field("service_provider", db.service_provider,
label="1.2 Name of training provider",
requires=IS_IN_DB(db,db.service_provider.id, '%(name)s')
),
Field("date", "date",label="1.3 Date"),
Field("module",label="1.4 Module"),
Field("q2_1",
label=SPAN("2.1 The objectives of the",
BR(),spasies(9), "session were clear to me"),
requires=IS_IN_SET(agree_or_not),
widget=horizontal_checkbox
),
Field("q2_2",
label="2.2 The content was easy to understand" ,
requires=IS_IN_SET(agree_or_not),
widget=horizontal_checkbox
))
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge
of God and of Jesus our Lord! His divine power has given us
everything we need for life and godliness through the full knowledge
of the one who called us by his own glory and excellence.
2 Pet. 1:2b,3a