Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all 81696 articles
Browse latest View live

China ITF Approved 45% Wool Tennis Balls Tube Euipment Manufacturer

$
0
0

Quick DetailsPlace of Origin:Shanghai,Website:http://www.ballsworld.com, China (Mainland)Brand Name:GravimModel Number:SG-TB-03Diameter (mm):68Weight (g):60Rebounce:135-147cmQuality:ITF Approved HighMaterial:Felt With 45% wool from UKSize:66-68mmWeight:56-59.4gColor:yellowPressurised:yesPacking:Available in 3ball and 4ball Pressurized TubeSample Time:3-5daysUSE:Suitable For All SurfaceCertification:EN71Product DescriptionFeatures:ITF Approved  Single can (3 balls or 4 balls)Deformation:0.23-0.25in; Weight:56-59.4g; Size:2.6-2.68in; Rebound:135-147cmExtra Duty Felt With 45% wool from UK ideal for longer play on hard court surfacesNatural rubber offers a consistent feel and reduced shockExclusive Extra Duty felt From Britain provides greater durability and improved performanceInterlocked wool fiber for longer wear; deep elastic seams prevent crackingIdeal ball for all levels of tournament and recreational play for hard court playOEM Pet Tennis BallOEM ITF Stage Tennis Ball For KidsOEM Senior Professional Practice Tennis ballOEM ITF Game Tennis Ball With Pressurized TubeOur CompanyShanghai Gravim Co., Ltd is a professional supplier for different kinds of promotional balls


Promotional Colored Toys Tennis Ball Weight Wholesale

$
0
0

Promotional Colored Toys Tennis Ball Weight WholesaleSPEC:The polyester felt and natural rubber material that are not made with harmful gasses and coatings,Website:http://www.ballsworld.com,great for training and playIdeal for puppies and smaller dogs and little boy and giftHigh buoyancy,high visibility,and high durabilityMaterial:Polyester fibre feltWeight:16/31gSize:40/48mmCould be with Key chain and squeakerPacking:300pcs in bulk,413228cmMOQ:3000PCSOEM COLOR/LOGO/PRESSURELESSGreat for use on child gift and pet toyOther Pack:1pcs/colorful box,250pcs/ctn,522722cm,15/14KGOr as your request custom packDeliveryDHL/FEDEX/UPS/TNT For sample*small order shipping.SEA/AIR/EXPRESSOther information:Country of origin:ChinaPart of loading:SHANGHAIThe term of payment:T/T 30%in advance,70%should be paid before shippingProduction time:About 20-30days after got depositProduction capacity:2000000pcs/month

Cheap Best Softer Sport Football Balls For Practice

$
0
0

Cheap Best Softer Sport Football Balls For PracticeDESC:Size 5 soccer ballSPEC:PVC cover with EVA foam for a softer touch,Website:http://www.ballsworld.com,smooth line designButyl rubber bladder,traditional 32panel,machine sewing,official size and weight,More durability than normally soccer ballProfessional designer help you change your design and draft drawing to real productsMaterial:PVC with EVA foamWeight:380gColor:White with yellow or red lineDia:21.8cmCircumference:68.5cmPacking:1pc/opp bag,Deflatable packMOQ:3000PCSOEM LOGO/COLOR/DESIGNSuitable for hard courtRegular Packing:1pc/opp bag(mesh bag),50pcs/604040cmOr as your requestDeliveryDHL/FEDEX/UPS/TNT For sample*small order shipping.SEA/AIR/EXPRESSOther information:Country of origin:ChinaPart of loading:SHANGHAIThe term of payment:T/T 30%in advance,70%should be paid before shippingProduction time:About 20days after got depositProduction capacity:2000000pcs/month

Super Concentrates Iron Ore Fines Or Powder

Iron Ore Powder Concentrate For Reduced Iron Powde And Fine With High Quality

Iron Ore Powder Concentrate For Powder Metallurgy

Portable Fiber Laser Marking Machine

$
0
0

Portable Laser Marking Machine Future of portable laser marking machine: 1> Electrical Engineering and Electrical part and component 2> Mobile (Cover,Website:http://www.chinalasercnc.com,battery,keyboard, I Phone Case) 3> Jewellery(Ring,pedeant,bracelet),eyeglass,clocks and craft 4> Building materials,PVC pipe 5> Car motor car spare part 6> Insturment and meters and cutting tool 7> plastic case 8> hardware fitting and accessory 9> sanitary appliance 10> food and beverage 11> Medicine package and medical instrument 12> solar Pv industryMachine parameters of portable laser marking machine:Product nameFiber laser marking machineLaser power10W/20W/30WWorking area110110mm/150150mm/300*300mm(can customize)Laser Wavelength10.64µmEngraving depth<=8mmMin.Line Width0.1mmMarking speed0-7000mm/sMin character0.4mmMax.Marking Depth0-6mmRepetition presition±0.01mmCooling methodAir coolingGraphic Format SupportedPLT, BMP, DXF, JPG, TIF, AI,etcVoltage220v ± 10%/50HzCE

1390 Laser Engraving Cutting Machine

$
0
0

1390 laser cutting machine Motion systems adopt high-precision ball screw and linear guide,Website:http://www.chinalasercnc.com, with advanced DSP control servo motor and reducer ensure accuracy and speed of processing. high-precision screw laser cutting with a stable and solid chassis, ensure high stability and, accuracy in fast motion.      Technical parameters Model1390Working area(mm)1300900mmLaser tube powerReci 90w (Reci 120w, 150w and ordinary 60W/100w/130w/150watt optional)Colororange and gray  Working life of tube   10000 hours for Reci tube, 1500 hours for Ordinary laser tube,Engraving speed0 – 60000mm/minCutting speed0 – 30000mm/minResetting positioning accuracy0.01mmLaser typeWater cooling co2 laser tubeMax powerAbout 1kwWorking platformHoneycomb table or Knife tablePower supplyAC 110 - 220V , 50 - 60HzMin. shaping  characterChinese 2mm2mm、English 1mm*1mmSupported graphicBMP,  PLT, DST, DXP, and AIDriving systemStepper motorAssistant equipmentExhaust-fans, water cooling pump air assistSoftware supportedCorelDraw,  AutoCAD , Photo shopSoftwareLaser cut5.3Operating temperature0℃~45℃Operating humidity5%~95%English manualTell you how to run the laser machine and also the problems and solutionsDelivery timeAbout 7 days after get your paymentHS code8456100090Approval Status CE and FDA certificate MOQ1 setAdvantage: 1.Laser tube and work platform isolation, to ensure the safety and the optical path of the laser tube cleaning. Receipts drawer and funnel design for easy nesting and improve efficiency. High power exhaust fan, three ventilation systems, adsorption smoke better. Optional dual laser head, make work efficiency exponentially. best price acrylic laser engraving cutting machine spare parts picture:eastern laser cutting machine cutting or engraving samples:  


1325 Stainless Steel Co2 Laser Cutting Machine

$
0
0

Metal and Nonmetal co2 laser cutting machine 1325 modelFeature for metal and nonmetal laser cutting machine:
 1. Reci tube or Yongli Brand tubeChiller CW-5200 allocatedAuto-focus laser head,Website:http://www.chinalasercnc.com, could adjust focal length according to metal surfaceImported lens and mirrors, brings high cutting precision.Linear rails from Taiwan, more stable and precise. Feature metal and nonmetal laser cutting machine: Metal

Raw Material Iron Ore Concentrate For Sintering

"New Discussion" missing "Edit" button after preview

$
0
0

I noticed here on the forums that if I select "Ask a Question" then I can select the "Preview" button and there will be a button to "Edit" after the preview comes up.

However if I select "New Discussion" and then "Preview", there is no "Edit" button available afterwards.

Update field value based on another field changed inline.

$
0
0

I need to reset fields values based on a value changed in another inline field . I tried using the following script, however when the table is loaded the first time, the code is executed and wipes out the values in said fields. I just need to perform this operation when a user changes the HRWPER. So let's say, if the percent field changed from 2.0 to 3.0, I need to reset other fields.

I am sure there is a better way to do this so all suggestions are welcomed.

$( editor.field( 'HRWPER' ).input() ).on( 'change', function () {

      //**Reset Plant Manager Approval function
      editor.field( 'HRWMGR' ).val( 0);
      editor.field( 'HRWMNA' ).val( '');
} );

Customized search applicable to both normal datatable and datatable with child rows.

$
0
0

I have an application with two datatables.

1.Has only parent rows (no child rows) say datatable1.
2.Has parent rows as well as child rows say datatable2.

I want to implement only one search for both the datatables.

For the datatable2 I implemented davidkonrad's answer on this link: https://stackoverflow.com/questions/30471089/datatables-search-child-row-content/ which works fine.
But the search does not work for the datatable2.

Any help would be greatly appreciated.

Thank you.

datatables editor and having to return custom JSON

$
0
0

Okay because of the specific way the actual table is populated using JSON. I have to duplicate the custom JSON when returning. Now to return this custom JSON Would I use echo or return?

`row.add()` throws error when attempting to add a row using an object.


Problem with jQuery Datatables Buttons - Excel Export - Using Special Character like "&" or "

$
0
0

Hi,

like i mentioned in the header, we have a problem with the excel export funtion from jQuery Datatable Buttons - when using special characters like "&" or "<". The excel export function works great if the data in the Datatable doesnt contain any "&" or "<".

the csv export function has no problem with the special character its seems like this problem only happens in the export to excel function.

is there any solution for this problem?

best regards

Why do multiple mjoins on tbl with alias work when Creating Records, breaks when updating records

$
0
0

Hello, I have a test case.
retracted

I am trying to assign users to different templates. I have a Persons table, a Roles table, and a PersonRoles table. The idea is that I can assign different PersonRoleIDs to a TemplateID in the PersonRoleTemplates table when creating or updating a record in the Templates2 page. This is because someone might have an Admin role, but for only 1 template. While somebody else may have both an Admin role and an Analyst role but for only 2 templates.

The issue is that this code below works correctly when creating a record on the templates2 page. The page is also reading the json data correctly when you select a row and click edit. However, when you click update, the 'users' that have been assigned does not update correctly, in fact they get deleted, but for only 1 of the 2 mjoins. This is true if you edit who is assigned, and this is true when you hit update without changing who is assigned.

I cannot figure out the issue because the create works like a charm. I could use some help. I need to mention that the table 'PersonInfo' is a stored query. This is because I need to pull in more columns on the mjoin so that I can display info related to the person in the subtable (drill down) + and - icons, and so I can use the Name of the person in the checkboxes on the form.

The purpose of the $q->where( 'RoleID', '1', '=' ); and $q->where( 'RoleID', '2', '=' ); in pi1 and pi2 is so that the query being used in the mjoin only contains the correct RoleID, in this case, RoleID 1 = Admin, RoleID2 = Analyst.

PS - 'Users' come from the same table. They have different PersonRoleIDs in the case of 1 person have more than 1 role assigned to them. So I am performing more than 1 mjoin on the same table, in this case, a query with additional information. The completed project will have at least 4 mjoins on the same users query, all with alias pi1, pi2, pi3, and pi4.

    /* Formatting function for row details - modify as you need */
function format ( d ) {

    var mystring = ""

    for (var i=0; i < d.pi1.length; i++){
    var mystring = mystring + '<td>'+d.pi1[i].FName+'</td>'
    };

    var mystring2 = ""

    for (var i=0; i < d.pi2.length; i++){
    var mystring = mystring + '<td>'+d.pi2[i].FName+'</td>'
    };

    // `d` is the original data object for the row
    return '<table id="testtable" cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">'+
        '<tr>'+
            '<td>Report Desc:</td>'+
            '<td>'+d.Templates.ReportDesc+'</td>'+
        '</tr>'+
        '<tr>'+
            '<td>Admin</td>'+
             mystring +
             '<td>Analyst</td>'+
             mystring2 +
        '</tr>'+
    '</table>';

}


var editor; // use a global for the submit and return data rendering in the examples

$(document).ready(function() {
    editor = new $.fn.dataTable.Editor( {
        ajax: "../../php/Scripts/templates2.php",
        table: "#example",
        fields: [ {
                label: "Report Name:",
                name: "Templates.ReportName"
            }, {
                label: "Report Title:",
                name: "Templates.ReportTitle"
            }, {
                label: "Report Desc:",
                name: "Templates.ReportDesc"
            }, {
                label: "Frequency:",
                name: "Templates.FrequencyID",
                type: "select"
            }, {
                label: "DueDate Report Inbound:",
                name: "Templates.NextDueDatePackager"
            }, {
                label: "DueDate Report Outbound:",
                name: "Templates.NextDueDateRecipient"
            },{
                "label": "Admin:",
                "name": "pi1[].PersonRoleID",
                "type": "checkbox"
            },{
                "label": "Analyst:",
                "name": "pi2[].PersonRoleID",
                "type": "checkbox"
            }
        ]
    } );

 var table = $('#example').DataTable( {
        dom: "Bfrtip",
        ajax: {
            url: "../../php/Scripts/templates2.php",
            type: 'POST'
        },
        columns: [
        {
                "className":      'details-control',
                "orderable":      false,
                "data":           null,
                "defaultContent": ''
            },
            { data: "Templates.ReportName"},
            { data: "Templates.ReportTitle" },
            { data: "Frequencies.Frequency" },
            { data: "Templates.NextDueDatePackager" },
            { data: "Templates.NextDueDateRecipient" }
        ],
        select: true,
        buttons: [
            { extend: "create", editor: editor },
            { extend: "edit",   editor: editor },
            { extend: "remove", editor: editor }
        ]
    } );


 // Add event listener for opening and closing details
    $('#example tbody').on('click', 'td.details-control', function () {
        var tr = $(this).closest('tr');
        var row = table.row( tr );

        if ( row.child.isShown() ) {
            // This row is already open - close it
            row.child.hide();
            tr.removeClass('shown');
        }
        else {
            // Open this row
            row.child( format(row.data()) ).show();
            tr.addClass('shown');
        }
    });

    });


<?php // DataTables PHP library include( "../DataTables.php" ); // Alias Editor classes so they are easy to use use DataTables\Editor, DataTables\Editor\Field, DataTables\Editor\Format, DataTables\Editor\Mjoin, DataTables\Editor\Options, DataTables\Editor\Upload, DataTables\Editor\Validate, DataTables\Editor\ValidateOptions; /* * Example PHP implementation used for the joinLinkTable.html example */ Editor::inst( $db, 'Templates', 'TemplateID' ) ->field( Field::inst( 'Templates.ReportName' ), Field::inst( 'Templates.ReportTitle' ), Field::inst( 'Templates.ReportDesc' ), Field::inst( 'Templates.FrequencyID' ) ->options( Options::inst() ->table( 'Frequencies' ) ->value( 'FrequencyID' ) ->label( 'Frequency' ) ), Field::inst( 'Frequencies.Frequency' ), Field::inst( 'Templates.NextDueDatePackager' ), Field::inst( 'Templates.NextDueDateRecipient' ) ) ->leftJoin( 'Frequencies', 'Frequencies.FrequencyID', '=', 'Templates.FrequencyID' ) ->Join( Mjoin::inst( 'PersonInfo' ) ->where( function ($q) { $q->where( 'RoleID', '1', '=' ); }) ->name( 'pi1' ) ->link( 'Templates.TemplateID', 'PersonRoleTemplates.TemplateID' ) ->link( 'PersonInfo.PersonRoleID', 'PersonRoleTemplates.PersonRoleID' ) ->order( 'PersonID asc' ) ->fields( Field::inst( 'PersonRoleID' ) ->validator( Validate::required() ) ->options( Options::inst() ->table( 'PersonInfo' ) ->value( 'PersonRoleID' ) ->label( 'FName' ) ->where( function ($r) { $r->where( 'RoleID', '1', '=' ); }) ), Field::inst( 'PersonID' ), Field::inst( 'FName' ), Field::inst( 'RoleID' ) ) ) ->Join( Mjoin::inst( 'PersonInfo' ) ->where( function ($q) { $q->where( 'RoleID', '2', '=' ); }) ->name( 'pi2' ) ->link( 'Templates.TemplateID', 'PersonRoleTemplates.TemplateID' ) ->link( 'PersonInfo.PersonRoleID', 'PersonRoleTemplates.PersonRoleID' ) ->order( 'PersonID asc' ) ->fields( Field::inst( 'PersonRoleID' ) ->validator( Validate::required() ) ->options( Options::inst() ->table( 'PersonInfo' ) ->value( 'PersonRoleID' ) ->label( 'FName' ) ->where( function ($r) { $r->where( 'RoleID', '2', '=' ); }) ), Field::inst( 'PersonID' ), Field::inst( 'FName' ), Field::inst( 'RoleID') ) ) ->process($_POST) ->json();

[How-To] Install DataTables with Meteor JS + Bootstrap 3

$
0
0

Hi, I decided to write about the process how I successfully installed DataTables with MeteorJS.

In my case :

  • Meteor version 1.4.3.2 (as for March 2017)
  • Installed via npm
  • Bootstrap 3 - Note that, I'm not using the default styling

DataTables is a jQuery plugin, thus, there's a trick to bind the plugin with the existing jQuery that comes with Meteor. I'm using import as this example is in ES6.

Installation

Step 1 :

Install DataTable core via npm : npm install --save datatables.net

Step 2 :

Install DataTable Bootstrap via npm : npm install --save datatables.net-bs

Step 3 :

Import datatable core and datatable bootstrap into you file. For example, you can write like this :

import datatables from 'datatables.net';
import datatables_bs from 'datatables.net-bs';
import 'datatables.net-bs/css/dataTables.bootstrap.css';

The third line is where I import the css for datatable bootstrap.

Step 4 :

Bind the "plugin" with jQuery, within the .onCreated(...) block :

datatables(window, $);
datatables_bs(window, $);

If you're working inside the body template, then, the code will look something like this :

Template.body.onCreated(function(){
    datatables(window, $);
    datatables_bs(window, $);

    // rest of your code
});

Usage

Let's say this happen inside your body template (body tag).

HTML :

<body>
    <table id="mytable" class="table table-hover table-bordered">
        <thead>
            <tr>
                <th>Column Header 1</th>
                <th>Column Header 2</th>
                <th>Column Header 3</th>
                <th>Column Header 4</th>
            </tr>
        </thead>
    </table>
</body>

I recommend that we do the init inside .onRendered(...) block :

Template.body.onRendered(function(){
    var data = [
        ['Data 1', 'Data 2', 'Data 3', 'Data 4'],
        ['Data 1', 'Data 2', 'Data 3', 'Data 4']
    ];

    $('#mytable').DataTable({
        data : data
    });
});

That's all. It should be working now :wink:

The one polish font makes problem, why?

$
0
0

We have noticed that EditTable does not support our Polish fonts, the Ć font in particular, you can create Ć using the right Alt + C on polish keyboard. Our other fonts (ś,ń,ó,ł,ż,ź,ę,ą) work correctly. What may be the reason? You can find this problem in your example too. https://editor.datatables.net/examples/extensions/keyTable.html
Any suggestions?

Does editor work with nonstandard named id columns in database.

$
0
0

We're using a mix of virtuemart and custom tables none of which of a standard id field. Does the PHP editor instance posess the ability to use the customs like virtuemart_product_id and pid?

Viewing all 81696 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>