If you need to replace something in your layout with something in the
extending view, use a block:
http://web2py.com/books/default/chapter/29/05/the-views#Blocks-in-views
Anthony
On Thursday, July 9, 2015 at 8:46:52 AM UTC-4, philip wrote:
>
> It seems there should be a simple solution or others with a similar
> problem, but I can't find anything on this.
>
> I need to extend layout to keep the menu, but this replaces the header of
> the page using Slickgrid (which contains all of the column titles).
>
> Please let me know if you need anything else to determine the problem
>
>
> Slickgrid's header:
>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <title>SlickGrid example 4: Model</title>
> <link rel="stylesheet" href="{{=URL('static','slick.grid.css')}}"
> type="text/css"/>
> <link rel="stylesheet"
> href="{{=URL('static','controls/slick.pager.css')}}" type="text/css"/>
> <link rel="stylesheet"
> href="{{=URL('static','css/smoothness/jquery-ui-1.8.16.custom.css')}}"
> type="text/css"/>
> <link rel="stylesheet" href="{{=URL('static','examples/examples.css')}}"
> type="text/css"/>
> <link rel="stylesheet"
> href="{{=URL('static','controls/slick.columnpicker.css')}}"
> type="text/css"/>
> <style>
> .cell-title {
> font-weight: bold;
> }
>
> .cell-effort-driven {
> text-align: center;
> }
>
> .cell-selection {
> border-right-color: silver;
> border-right-style: solid;
> background: #f5f5f5;
> color: gray;
> text-align: right;
> font-size: 10px;
> }
>
> .slick-row.selected .cell-selection {
> background-color: transparent; /* show default selected row
> background */
> }
> </style>
> </head>
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.