2227 comments found.
Hi,
I have one more question.
I use dialog modals for quick form edit. Is a way to submit the form from modal without ajax? I have removed the data-dismiss=”modal” from submit button, so when user clicks “Submit” the modal remains on screen without doing anything. What I would like to do is when user clicks Submit, to close the modal, form submited and the page of the form action loaded.
Is a way to do so?
Thank you
Hi
You can wrap modal body and modal footer with buttons in form tag and change Submit button type to submit. This option will submit form, to close modal when form is submitted, you can use something like:
$("#id_form").on("submit", function(){
$('#your-modal').modal('hide');
});
Thanks
Thank you for your reply.
The above code hides the modal but it does not submit the form.
The reason is that button element does not triggers the submission of a form (in js), so I replaced button with submit and it worked without the js,
I also tried
$ ( button_id ) . click(function() { ..hide modal; $( form_id ) . submit();
This submits the form, but the button contents are not submitted. After searching jquery web sites, I found that when you submit a form using jquery, the button value is not submitted. In my case, I have more that one buttons per form, the buttons have description and I need to know which one was clicked and what was the value of the clicked button.
So I finally used the classic submit combined with hidden element to pass the value of the submit. In this case there is no need of js.
General speaking, the advantage of using button over submit is that buttons have 3 tags, name, value and description (between buton /button), while submits have 2. That means, in submits the value goes as description and it is not handy if it is required to be processed.
Thank you for your great and fast support. You always try and give a hint / solution.
Hey
Ha, thank you for the tip! I have used simple forms with submit button type in modals and it always worked properly as a very basic functionality.
Thanks!
Hi,
I am just downloading Limitless v1.5 now and I currently have v1.3 on the website that I am working on, how do you go about upgrading? Do I look for each of the updated item one by one? Thanks!
Hi
I would suggest to go through changelog in documentation and update all files listed in 1.4 and 1.5, if you update directly to 1.5, you’ll probably skip some bug fixes in less files.
Thanks
Hi,
I noticed a “strange” behaviour in action drop down in datatables. While in wide screen everything is fine, in narrow screens when you click the action button, the openmenu goes under header (filter, num of rows) and footer (rows found and pagination) created by the datatables. To see it just leave one record only in the first table at datatable_basic.html. I tried to increase the z-index without any luck. I resized the browser to check it, I did not checked it on a smart phone.
By the way, is any advantage of using the ul class=”icons-list” (the action located in most of your demo pages – named action) over the simple button dropdowns within a td of a datatable?
Thank you
Hi.
Yep, unfortunately this is a negative side of default responsive feature, where table has a horizontal scrollbar. To remove scrollbar, change dom option in DT config from this:
dom: '<"datatable-header"fl><"datatable-scroll-wrap"t><"datatable-footer"ip>'
to this:
dom: '<"datatable-header"fl><""t><"datatable-footer"ip>'
Basically you need to remove .datatable-scroll-wrap class which adds horizontal scrollbar.
Let me know please if that works for you.
Thanks
Thank you
You are very welcome 
Hai, We have integrated HOT-in-HOT with Autocomplete, but it doesnt work with HOT-in-HOT so can u pls suggest Solution for this..
Hi
As far as i know, Handsontable cell type doesn’t support Autocomplete. There is a feature request on github, but hasn’t been added yet.
Thanks
Thanks For the Reply
Hi,
i’d like to know if there is a way to call a method to rebind actions on a selector (after rendering a new dom elem)
i’m designing a redux/react app and i’d like to know if you had examples of best practices for that?
I guess bind / debind actions should be done within WillMount / DidUnmount, but maybe i’m wrong.
Hi
Unfortunately i’m not familiar with React, so can’t help you much i’m afraid. Found this article about methods binding, might be helpful.
Sorry about that.
Thanks
Hi. Not sure if its a bug or not, but here goes. Switchery do not work with assets/js/plugins/visualization/echarts/echarts.js assets/js/pages/user_pages_profile.js
Looks like there some dups of command etc. Any way to fix this?? Thanks =)
Hi
Hmm, should work fine. Do you get any errors in browser console?
Thanks
Hello Kopyov,
I’m trying to use your datatables as described in the documentation here: limitless_1.5/layout_2/LTR/default/datatable_basic.html
“all you need to do to use it with your own tables is to call the construction function”
What do you mean exactly by calling the “construction function”? Here is what’s I have done so far:
1. From the page source, I copied the links to the Theme JS files <script type=”text/javascript” src=”assets/js/plugins/tables/datatables/datatables.min.js”></script> <script type=”text/javascript” src=”assets/js/plugins/forms/selects/select2.min.js”></script> <script type=”text/javascript” src=”assets/js/core/app.js”></script> <script type=”text/javascript” src=”assets/js/pages/datatables_basic.js”></script>
2. From the page source, I copied everything contained in the table tags.
The table somewhat works but: - The filter input box is not stylized at all - When I delete some columns from the table, it is loosing all its functionalities.
I gues I am doing something wrong but what? Any hint would be welcome… Thank you
Alexis
Hello
1. Please do not use any JS files from assets/js/pages/ folder in development, each file contains a lot of examples of multiple plugins and configurations. In your case, you just need to use datatables defaults and initialization code of basic example.
2. Construction function means datatables initialization, including required defaults (on top in datatables_basic.js).
3. By default, DT doesn’t have styling select and displays default select without any styling. To make them nice, you also need to include Select2 plugin and initialize it after DT init.
Let me know if you have further questions.
Thanks
How do I use plupload?
Hello Kopyov,
I am trying to understand how the starter pages work and I have to say I am little confused when reading the “Usage” paragraph. In particular on the following points:
“[...] add a path to this file in your page, re-compile LESS with styling of this plugin and use it. [...]”
How do you recompile LESS?
“[...] All unnecessary component styles are commented in components.less file, so if you need any additional styles, just uncomment the path to LESS file and re-compile it. [...]”
Where is located components.less ? For instance I did not find it in layout_2\LTR\default\starters and I did not find any reference to component.less in the code of the starter pages.
Thanks Alexis
Hey Alexis
1. You can find 2 options for LESS compilation in Documentation – using desktop apps and gulp, both have detailed instructions.
2. There are 2 components.less files – in less/_main_full/ and less/_main_starters/, in your case you need to use /_main_starters/ one. Both full version and starters have same less files path, the only difference is components.less files.
Let me know if you have any questions.
Thanks
Dear,
I am writing to report a problem with charts on dashboard. The problem is that i can not put 2 different types of charts on the same page ( Echarts and C3library). I have imported required Javascript files, but there is still a conflict, and charts are not displayed. Could you please help me solving this problem ?
Looking forward to hearing from you, Milan Mojsilovic
Hey
Of course, there should not be any conflicts if you have done everything correctly. Can you please email me your code to e.kopyov[at]gmail.com? I need to see the whole code you are using on your page to find out what exactly is wrong.
Thanks
hey @kopyov,
in one of my projects, im using the task_manager_detailed.html page’s comments section.
Is there any way to let users collapse those comment threads like panels can be collapsed?
Hey
Basically you can use Bootstrap’s collapsible plugin with some custom toggle button – inside panel title or make the whole panel title clickable.
Thanks
i don’t want to use panels there but ‘media’ divs from your comments example on theme. i want those media div’s to be collapsible.
Hi
Sorry for delayed response, on holiday.
Logic is the same, you just need to specify toggle button and container, which that button will collapse/expand. So for media, you need to toggle .media-list or .panel-body container, something like:
<div class="panel panel-flat">
<div class="panel-heading">
<h6 class="panel-title">Comments</h6>
<div class="heading-elements">
<button type="button" class="btn btn-link btn-icon heading-btn" data-toggle="collapse" data-target="#comments">
<i class="icon-menu7" />
</button>
</div>
</div>
<div class="collapse in" id="comments">
<div class="panel-body">
...
</div>
</div>
</div>
Thanks
Hi again
I would like to ask you about tables
1) How can I add a horizontal scroll bar on top of the table as well? By default the horizontal scroll bar appears at the bottom. Is it possible?
2) How can I disable / exclude a whole row from toggling in narrow screens. I would like to hide the + symbol from some rows in smartphones / tablets because there are empty rows used for decorative reasons (separators).
Thank you
Hey
1. This option is a hacky one – browser doesn’t support vertical scrollbars for UX reasons by default, but you can try and this solutions. However i would not suggest to use any of those.
2. I don’t think this can be done just with existing DT options, because they control column visibility, not row. So whenever column is hidden, you can’t show cells from that column even with colspan. You can of course try to simply hide toggle button with CSS (assign some class to table row/cell and hide/show it depending on breakpoint). But i am not sure if that’s going to work, needs testing.
Hope that helps.
Thanks
Thank you for your reply
2. I found in http://fooplugins.github.io/FooTable/docs/examples/basic/row-toggle.html about disabling row toggle setting data-expanded in tr but it doesn’t work.
Regards
Hi
I thought you are talking about Datatables
Footable will be updated in the next update, current version doesn’t support some features. Sorry about that, missed it in latest update.
Thanks
Hi
I tried both footables and datatables. I have some “big” tables, for example 10 services, each service 5 different classes (categories), and prices for 15 days as form fields (text input). So products go on rows and days in columns. That’s the reason I was looking for colspan to separate (group) services, scroll bars yes or no, excel like tables or no, etc. I was looking for the best possible presentation by means of user friendly interface.
Thank you for your support.
Hi
Hmm, i am not sure if i can suggest you anything here. You can look at this type of table layout – all rows are grouped by label in hidden column and that group title uses colspan, perhaps this solution will give you a hint on further development.
Thanks
Thank you
On Bootstrap file input, if you upload an PDF it puts some sort of top margin on the viewer and (a) the PDF has scroll bars and (b) the preview starts about half way down the box
With images (PNG, JPG) etc this doesn’t happen but all PDF seem to do this.
How can this be overcome so PDF are full size ideally with no scroll bars and no gap at the top?
https://s30.postimg.org/rnyapqn9d/bars.png
Thanks Jason
Hey Jason
Yep already tried to fix it with CSS, but had no luck. Original website has the same issue, probably something to do with PDF embed. Also tried different configurations, but still nothing. There is an option though to use icons instead of file preview, might be helpful.
I’ll be watching this issue on File Input github and fix when some solution comes up.
Thanks
Hi looked updates, want to buy, that’s just embarrassing fact that you have not updated to the latest version icomoon
and correct the error on the page http://demo.interface.club/limitless/layout_2/LTR/default/jqueryui_sliders.html incorrectly displayed tooltip http://prntscr.com/dx0y62
Hi
Embarrassing fact?
Well it’s a custom icon set, which is based on Icomoon and a few other sets. If you want to use Icomoon only, you can easily change icons as both are based on 16px grid.
Will do, sir. Loading jQuery UI before Bootstrap should fit the issue.
Thanks
Hi Kopyov,
Thank you for answering my last question. My company is about to go ahead and buy an extended license. Just wanted to double check. I see from the comments that a bootstrap 4 version is coming out in March, will that be free to download when we purchase the extended license here now? And also all future updates they are also free?
Hey David
Of course, all updates are free and you don’t need to purchase additional licenses nor extend existing one. Boostrap 4 is still in Alpha version and is pretty unstable at the moment and in active development. I want to start integration in a while to have enough time before they release a stable version.
Thanks!
Thank you for new update.
1. you exactly commented the page name for new components and js files for updated plugins, but in fixed and improvements i dont know witch files should be replaced??
2. is all preview themes in 1.5 version now? (layout 5 / rtl / material ???)
Hi
Please always refer to detailed changelog in Documentation, it includes a list of new and updated files that need to be replaced.
Yes, all layouts have been updated to the latest version in live preview. If you still see 1.4, try to clear browser cache.
Thanks
Hey ! Thanks for the big update. A question : how do i easily update (just replace js files ? is there any change in html files? Thanks
Hey
Not really, just a set of new pages and navigation. Please refer to changelog in documentation, there is a list of all JS files that need to be updated.
Thanks
Hi
When colspan is added in a table, the fixed header is not working. In a previous comment of another user you confirmed that there is bug with colspans and fixed header extension and you would upload a new version.
I downloaded your last update (v1.5) but the bug still exists.
Any idea how to fix it? I used a 3rd party extension, but it makes tables very slow when scrolling up and down.
Thank you
Hi
I have just checked colspan in thead and 1 extra cell in tbody and i don’t see any issues, everything works as expected. Can you please share a bit more details about your specific case?
Thanks
Thank you for your reply
I downloaded your latest update, and checked Layout1 / LTR / meterial / datatable_extension_fixed_header.html and it worked fine (plus there are no errors in debugging console).
Then I edited datatable_extension_fixed_header.html and I inserted in the first table after the fourth row, tr td colspan=6. It stopped working, header was not fixed anymore. Plus the following errors in debugging console
Uncaught TypeError: Cannot set property ‘_DT_CellIndex’ of undefined
at Ja (datatables.min.js:24)
at N (datatables.min.js:16)
at HTMLTableRowElement.<anonymous> (datatables.min.js:16)
at jquery.min.js:2
at Function.map (jquery.min.js:2)
at n.fn.init.map (jquery.min.js:2)
at oa (datatables.min.js:16)
at e (datatables.min.js:92)
at HTMLTableElement.<anonymous> (datatables.min.js:93)
at Function.each (jquery.min.js:2)
Maybe it conficts whith the sorting of the table. (sorting is also not working when colspan – it is logical sorting not working with solspan)/
Please note that above is on the just downloaded datatable_extension_fixed_header.html, I haven’t done any other modification except the colspan.
I also found difficult to combine some js files as required by the pages of my project. I am getting errors, it is hard to find which js cannot coexist with another js, or the sequence. Sometimes I change the sequence of loading the js and everything is fine.
I also have problems with responsive tables. My tables stack fine the td cells, one under the other in narrow screens, but in some medium size screens they display a horizontal scroll bar.
Regards
Hi
1. Colspans and rowspans in tbody are not supported and most probably will not be supported at all, they add a lot of complexity to the sorting and filtering which is why it is not currently possible. Here you can find a full explanation from DT dev team.
2. All JS files can be used together, with proper ordering. Also do not use any files from assets/js/pages/, because they are needed mostly for demo purposes and contain a lot of examples of pages, not plugins. All you need to do is to use a few examples of specific configuration only, not the whole file.
3. By default all tables are scrollable. You can easily remove scrollbar in datatables just by modifying DOM property from this:
dom: '<"datatable-header"fl><"datatable-scroll-wrap"t><"datatable-footer"ip>'
to this
dom: '<"datatable-header"fl><""t><"datatable-footer"ip>'
But note that if your cell content is too long, on media screens it will overlap table edges. That is why scrollbar is there.
Please always refer to template documentation, file structure in real projects is different in 90% cases, so it’s up to you how to use JS files and where to store them. All in all, to keep it simple, i’d suggest to create a new file custom.js and move specific configs of plugins and any other custom js code in there.
Let me know if you have any further questions.
Thanks
Hi,
I would like to have colspan because I group table rows and I would like to separate from the next group. I can do this without colspan, just many single cells and css to eliminate internal borders. Rowspan would give the space needed for a brief info of a group of rows. Anyway, I’ll continue without them.
Thank you for your support
Hi
You can try this solution if you want to group rows and give them specific title. Table config is in assets/js/pages/task_list.js
Thanks
Excellent! Thanks a lot.
You are very welcome!
thankyou for updates !!!! , perfect
Thank you!