<style type="text/css">
    .databox.databox-vertical.databox-xxxlg .databox-bottom {
        height: auto;
    }
</style>
<div class="col-lg-4 col-sm-6 col-xs-12">
    <div class="databox databox-vertical databox-xxxlg radius-bordered databox-shadowed">
        <div class="databox-top bg-orange text-align-left padding-left-30">
            <span class="databox-header"><i class="fa fa-shopping-cart"></i> <?php echo $this->lang->line("ITEMESTIMATION"); ?></span>
        </div>
        <div id="topsellingproductsdiv"></div>
    </div>
</div>
<script type="text/javascript">
$(document).ready(function() {
        $.ajax({ url: "<?= base_url() ?>dashboard/DataboxesKDS/Topsellitem",
            data: {
                displayids: "<?php echo (string)$displayid; ?>",
                limit: "<?php echo (isset($limit))? (int)$limit :10; ?>",
            },
            type: "POST",
            success: function(data){
                $("#topsellingproductsdiv").html(data);
            }
        });
    
});
</script>