I can't use option "Master Detail Fancy" in Laravel. When I click on link, app doesn't show modal form. URL looks like this: …/public/client2#box_detail_grid.
To connect fancy box to link, following steps are necessary. Make sure you have it:
1) Include css/js
<!– Add fancyBox main JS and CSS files –>
<link type="text/css" rel="stylesheet" href="//cdn.jsdelivr.net/fancybox/2.1.4/jquery.fancybox.css" />
<script type="text/javascript" src="//cdn.jsdelivr.net/fancybox/2.1.4/jquery.fancybox.js"></script>
2) On link, apply class e.g. class='fancybox'
$col = array();
$col["title"] = "Detail Info";
$col["name"] = "detail";
$col["default"] = "<a class='fancybox' onclick='jQuery("#list1").setSelection({client_id});' href='#box_detail_grid'>View Details</a>";
$col["width"] = "40";
…
3) Connect JS code with this class:
<script>
$(document).ready(function() {
$('.fancybox').fancybox({
afterClose : function() { $('#list1').trigger("reloadGrid"); }
});
});
</script>
Hello Radek
if you can merge master detail fancy with laravel
Please write down the code you used
This is what is available right now. I’ll try to prepare a master-detail demo and uploading files link.