Discussion on Melon – Flat & Responsive Admin Template

Discussion on Melon – Flat & Responsive Admin Template

By
Cart 2,403 sales
Well Documented

Stammi supports this item

Supported

186 comments found.

Hey there!

I have a form, and I would like to add validation with the alert message. How can I do that?

Hey Melvin,

thanks for your message. Please have a look at form_validation.html, there are tons of examples how to use the form validation. If you still need help don’t hesitate to write me. :)

All the best,
Simon

How to use datatables?

1. ajax cell click event 2. sorting method

below is my source code

var oTable;
$(document).ready(function(){
    oTable = $('#example').DataTable( {
        "asSorting": [ 'asc', 'desc' ],
        "bProcessing": true,
        "bServerSide": false,
        stateSave: true,
        "bDestroy": true,
        "sAjaxSource": "/api/report",
        "sServerMethod": "get",
        "dataSrc": "",
        aoColumns
            {mData: "reportNo"},
            {mData: "reportReasonName"},
            {mData: "contentClassificationName"},
            {mData: "mlbInfo"},
            {mData: "detailContent"},
            {mData: "reportDt"},
            {mData: "statusName"},
            {mData: "resultName"},
            {mData: "reportCompany"},
            {mData: "reportedCompany"}
        ]
        // "asSorting": [ "asc", "desc" ]
    });
});

Hey hanmiks,

you can check out the legacy documentation of DataTables for that: http://legacy.datatables.net/examples/basic_init/table_sorting.html

Also see assets/js/plugins.js (search for DataTables) for some example usage. :)

All the best,
Simon

hey stammi

2 questions

1. Datatable row click event 2. Sort

If you use it according to the datatables documentation, an error occurs.

“aaSorting”: [[ 4, “desc” ]] throws an error in the timeleaf

And the plugins.js file is hard to see. I don’t know dust

Just tested it, sorting works as expected if I try it with:

$('#hanmiks').dataTable( { "aaSorting": [[ 1, "desc" ]] });

Make sure that the 5th column exists in your case.

And according to https://legacy.datatables.net/release-datatables/examples/advanced_init/dt_events.html there is no click event from DataTables so just use the click event from jQuery like:

$("#hanmiks").delegate("tr", "click", function() { alert("Click!"); });

Best regards,
Simon

Dear Stammi,

Such a great responsive theme is !!

I came to know across one tiny issue here, while using Colvis and Columnfiter together, it is not working!!

For instance, see https://prnt.sc/jv6dbm. Now, hide 2nd column. Search anything in Columnfilter in 3rd, 4th column. It is not searching data.(see http://prntscr.com/jv6fc1) Can you please suggest if I am missing anything?

Look forward to hearing from you.

Hey Maven,

I made some research and came up that you need the minimum versions DataTables 1.10.11, ColVis 1.1.2, ColumnFilter 1.5.6. Feel free to upgrade the plugins to minimum this version and it should work.

Kind regards,
Simon

Long time no contact Simon, hope all is well, wanted to see if you plan to update this theme and all it’s awesomeness to 4+ yet. Let me know your thoughts and have a great week.

Hey Andrew,

nice to hear from you! Unfortunately, I’m currently not planning to upgrade this template to 4+. But thanks for your comment man. :)

Kind regards,
Simon

Could I twist your arm as a paid project? I would really love to keep using this template if I can keep things working / up to date. Thanks

Hello, does the team support just horizontal navigation (without sidebar)?

Hello cristianszpisjak,

yes, this is supported by Melon! :)

Kind regards,
Simon

Hallo, I found a bug on the modal window. modal-body and modal-footer overlap. Please see this screenshot https://ibb.co/cAS47G

Edit Solved: I add row class in modal-body

Hey yanurmal,

glad to see you got it solved! :)

Kind regards,
Simon

I have an issue I’m not sure how to fix, if you have a lot of items in a drop down menu (like the top dropdown in your demo) if the items go below the fold, you cannot scroll to them or access them

Hello Blooze,

in that case you should not use the Bootstrap Dropdown. Instead use something like Advanced Select List on Form Components. If you want to use the Bootstrap Dropdown, the idea would be to wrap this dropdown, like this: https://www.bootply.com/86116

Kind regards,
Simon

Could you please upgrade this template to Bootstrap 3.3.7 (the latest version of today)? Once you upgrade, then I will purchase it. Thanks.

Hi Simon,

No response for this?

Hey Masino,

unfortunately, I have currently no ETA when I will upgrade this template to Bootstrap 3.3.7.

Kind regards,
Simon

Okay, thanks for your answer.

Anything happening with this theme anymore or has it reached the end of life? I would love to see a future something, I am even willing to pay more for something simular, but I need to be able to migrate from this theme first. Thanks

Hey Andrew,

nice to read from you! I’m still there but I’ll be honest with you, that I’ll not invest that much time into Melon for a complete upgrade. Is there anything you’re missing in Melon or anything that is broken with the newest browsers?

Kind regards,
Simon

Hi, do you think include timeline?

Hey bjkli_ozgur,

I’m currently not planning to implement a timeline. But I can recommend that you use this: https://codyhouse.co/gem/vertical-timeline/ It can be easily included within Melon.

Regards, Simon

thanks, regards.

I am not receiving the confirmation email from your support system http://support.stammtec.de therefore I cannot do anything else. Please check my username is AvantPrime.

I also have a question about using fnRender on the DataTable. It doesn’t seem to work but I am sure there must be a way to render custom columns.

Thanks just received the confirmation email. Question posted on your support system.

Just answered you. :)

Hello,

I see you’ve been planning an update on this for sometime now. Do you have an ETA on when you plan to release a new update?

Interesting issue, the left menu is hard to scroll, unless you find the scroll bar and move it by hand. I will look around, but can you make it scroll as your mouse moves so that it’s more users friendlier. Larger menus can be a pain to use :)

Hello, it is possible to have a boxed version?

Sure, here I’ve posted an example: http://support.stammtec.de/discussion/550 :)

Hi! Great job. I’m having an issue with responsive datatables, and de SaveState option. Not your fault, it’s a datatables bug. But they say it’s fixed in Datatables 1.10. Is there an easy way to update the plugin? I tried it but keep throwing same error… Cannot read property ‘defaults’ of undefined [DT_bootstrap.js]

Well, it didn’t solve the problem. Again, not your fault. Thanks a lot, I love the theme and I’m sure my customer will love it.

I’m going to look for the last update of responsive-tables.

Anyway, I love the new icons in the datatables plugin :D

Thank you a lot.

Hmm okay, thanks for the compliment. If you stuck while updating anything, just write me an email! :)

Sure! Thanks.

Hello Simon,

How are the updates going, mainly the newer Bootstrap 3.3.4 and such, so many bugs that I would love to see get fixed and most are Bootstrap issues, not yours.

You code is super clean, but getting dated very fast. A year now with no updates, I’m trying to wait it out, could you offer any type of ETA?

Thanks so much and have a great day…

Hey Andrew,

phew… already one year ago. Then it’s really time for an update! :) I’ve planned to release an update in May/ June.

Have also a great day,
Simon

Hi, When I submit form it adds comma ”,” at the end of textbox values do you know why?

Hey karayakar,

this sounds like a strange behaviour. Could you please send me the code you’re using? You can send it to me by email, open a new thread in my support forum or simply upload it to pastebin or anything else.

Regards,
Simon

I need to know if this tpl have an library for make a new PDF Document.

Hey sebastot,

this template has no library included but you can use e.g. PHPPdf or something like that.

I want to edit the contents of a table static table. How can I do that?

Hey szmalladi,

static tables are static tables. What do you want to edit there? :)

Sorry…My question was incorrect. I want to edit the contents of a ‘table’. How can I do that? Is there an option any type of tables?

Well, I think not? Do you mean something like that: https://editor.datatables.net/

Where can I to change the minimum registers at “records per page” ?

Hey sebastot,

please have a look at the documentation at: Main Elements -> Tables -> Dynamic/ Managed Tables.

If this does not help you, have a look at the DataTables documentation.

Kind regards,
Simon

Thanks, I got it !!! take a look here… http://snag.gy/9rACA.jpg

Perfect. :)

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey