question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TbJsonGridView - Parser error!

See original GitHub issue

Hi.

we are using TbJsonGridView but it return a Parser error! on a alert when some body click on page number for pagination ,search ,sort link , Please guide us How to fix this , Code are as follows:

$this->widget('bootstrap.widgets.TbJsonGridView', array(
    'dataProvider' => $model->search(),
    'filter' => $model,
    'type' => 'striped bordered condensed',
    'json' => true,
    //'ajaxUpdate' => true,
    'summaryText' => false,
    'cacheTTL' => 10, // cache will be stored 10 seconds (see cacheTTLType)
    'cacheTTLType' => 's', // type can be of seconds, minutes or hours
    'columns' => array(
        'id_feedback',
        'feedback',
        'felkod',
        array(
            //'header' => Yii::t('ses', 'Action'),
            'class' => 'bootstrap.widgets.TbJsonButtonColumn',
            'template' => '{view} {update}',


        ),
    ),

));

TbJsonGridViewerror

Issue Analytics

  • State:closed
  • Created 11 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tonydspaniardcommented, Jan 7, 2013

Your issue is with TbButtonColumn, you need to use TbJsonButtonColumn!

0reactions
unpacocommented, Mar 24, 2015

Hello, please note I’m not a JS/HTML/CSS/Yii expert. I started playing around with this widget and I have the same problem as @prawee and @onesource4u about the grid sorting just once. It also doesn’t seem to filter the fields when typing the text in the filters and then pressing Enter, while everything in the example at the official page seems to work fine. I don’t know about the view/delete buttons yet because I haven’t tested them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parser Error when deploy ASP.NET application
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse ......
Read more >
Latest topics
6, 109, March 7, 2013. Parse Error In Helloworld · Web Application Development With Yii ... 1, 58, March 7, 2013. Yiibooster -...
Read more >
Fix Configuration Parser Error - Error Parsing - YouTube
ParserReturnedError #0XC00CE556 #ConfigurationParserErrorHii Friends Welcome Back My Channel MK Tech.........In This Tutorial Fix ...
Read more >
Fix Configuration Parser Error - Error Parsing - YouTube
Thank You Everyone So Much For Watch My Video On " Fix Configuration Parser Error - Error Parsing - Parser Returned Error 0xC00CE556...
Read more >
How to fix parse error there was a problem parsing ... - YouTube
How to fix Parse Error There was a problem parsing the package.1. Allow Apps Installation from Unknown Sources.2.Enable USB Debugging.3: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found