issues

Questionsissues
Mukti asked 11 years ago

Dear Abu,

I am using tweeter bootstrap.
Following things are not working , i also used firebug mode to check the conflicts , but noticed nothing that stops the following functionality:-

1. Conditional formating and footer row.
i used following:
php side
$e["js_on_load_complete"] = "do_onload";
$g->set_events($e);


$out = $g->render("list2");

html side
<script>
var opts = {

function do_onload(id){
var grid = $("#list2");
totaltrees = grid.jqGrid('getCol', 'totaltrees', false, 'sum');
grid.jqGrid('footerData','set', {totaltrees:totaltrees});

},

};
</script>

2. Link (underline) does not shows up.

3. fancy bar:
whole images gets downloaded in the cell instead of icon like images.

Regards
Mukti

1 Answers
Abu Ghufran answered 11 years ago

1) in html side, remove opts.
<script>
function do_onload(id){
var grid = $("#list2");
totaltrees = grid.jqGrid('getCol', 'totaltrees', false, 'sum');
grid.jqGrid('footerData','set', {totaltrees:totaltrees});
}
</script>

2) In bootstrap.css, the text-decoration of <a> is none. You can override it on page.
<style>
a {
text-decoration: underline;
}
</style>

3) When defining img tag in $col["default"], you need to specify width or height of image. e.g.
<img height=25 src='http://ssl.gstatic.com/ui/v1/icons/mail/logo_default.png'&gt;

Your Answer

11 + 5 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?