11-02-2011, 12:05 PM
[eluser]Unknown[/eluser]
Hello all
I have sucess fully implemented flexigrid in CI 2.0.3 but when I tried to enbale CSRF=TRUE from config file my Flexigrid is not working.
Can anyone please help me to solve this
I found following alternatives but its not working.please help me
In order to work with CSRF plugin (http://ellislab.com/forums/
viewthread/92399/)
I have added a line in helper and flexigrid.js which are;
flexigrid_helper.php
46. $grid_js .= "sortorder: '".$sortorder."',";
47. $grid_js .= "ci_token: '".getCSRFToken()."',";
and flexigrid.js
51. onSuccess: false,
52. ci_token: '',
52. onSubmit: false
Its not working for me.I think getCSRFToken() is not available in CI 2.0.3.please help me
Hello all
I have sucess fully implemented flexigrid in CI 2.0.3 but when I tried to enbale CSRF=TRUE from config file my Flexigrid is not working.
Can anyone please help me to solve this
I found following alternatives but its not working.please help me
In order to work with CSRF plugin (http://ellislab.com/forums/
viewthread/92399/)
I have added a line in helper and flexigrid.js which are;
flexigrid_helper.php
46. $grid_js .= "sortorder: '".$sortorder."',";
47. $grid_js .= "ci_token: '".getCSRFToken()."',";
and flexigrid.js
51. onSuccess: false,
52. ci_token: '',
52. onSubmit: false
Its not working for me.I think getCSRFToken() is not available in CI 2.0.3.please help me