On Friday, May 12, 2017 at 2:13:31 PM UTC-7, Ben Lawrence wrote:
>
> I assumed the element was found because the button 'Add Record' did change
> to 'Add Person' in the view...
>
The line where you assign "Add Person" to addButton[0] is where you get the
exception. I believe that says addButt
I assumed the element was found because the button 'Add Record' did change
to 'Add Person' in the view...
On Friday, May 12, 2017 at 1:59:47 PM UTC-7, Dave S wrote:
>
>
>
> On Friday, May 12, 2017 at 1:56:35 PM UTC-7, Ben Lawrence wrote:
>>
>> I did the same but did not work. The button changed t
On Friday, May 12, 2017 at 1:56:35 PM UTC-7, Ben Lawrence wrote:
>
> I did the same but did not work. The button changed to 'Add Person' OK,
> but received an error when clicking button 'Add Person'. Is it because I am
> using a different version of web2py 2016.05.10 ?
>
> addB
I did the same but did not work. The button changed to 'Add Person' OK,
but received an error when clicking button 'Add Person'. Is it because I am
using a different version of web2py 2016.05.10 ?
addButton=alertGrid.element(_title='Add record to database')
addBu
How do I change the field name using smartgrid? Or add extra field name
when I link tables?
On Monday, January 11, 2016 at 3:53:51 PM UTC-5, Richard wrote:
>
> What about :
>
> grid.element(_title='Add record to database', _class="btn btn-primary')
>
> Or you may try with _style='background:
What about :
grid.element(_title='Add record to database', _class="btn btn-primary')
Or you may try with _style='background: blue;'
Though, would be better with the first option because the whole button
style with be manage by bootstrap properly... Changing only background
color will result it
It works Anthony. Thank you. You happen to know how to change the color or
the box to blue? lol.
On Friday, January 8, 2016 at 5:42:27 PM UTC-5, Anthony wrote:
>
> Unfortunately, that's hard coded. You can do:
>
> grid = ...
> addspan = grid.element(_title='Add record to database')
> addspan[0]
Unfortunately, that's hard coded. You can do:
grid = ...
addspan = grid.element(_title='Add record to database')
addspan[0] = 'Add Projects'
addspan['_title'] = 'Add project to database'
Anthony
On Friday, January 8, 2016 at 5:17:17 PM UTC-5, Ron Chatterjee wrote:
>
> having create=True in smart
8 matches
Mail list logo