Master Detail Fancy in Laravel

QuestionsMaster Detail Fancy in Laravel
Radek asked 7 years ago

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.

3 Answers
Abu Ghufran answered 7 years ago

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>

abderrazzak answered 3 years ago

Hello Radek
if you can merge master detail fancy with laravel
Please write down the code you used

Abu Ghufran Staff answered 3 years ago

Hello,

Please refer this sample code:

Using subgrid in laravel, https://gridphp.com (github.com)

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff replied 3 years ago

This is what is available right now. I’ll try to prepare a master-detail demo and uploading files link.

Your Answer

2 + 12 =

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?