jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 45 total)
  • Author
    Posts
  • in reply to: getcolumnaggregateddata getcolumnaggregateddata #12160

    detberlin
    Participant

    ok…

    I would like to know how I can read out the sum

    and how can I pass a div

    in reply to: getcolumnaggregateddata getcolumnaggregateddata #12129

    detberlin
    Participant

    hi,

    My problem is that I can evaluate not the aggregate sum. I try from the aggregate the data in the footer of the grid with the following spelling the individual columnaggregat to read sum and pass it a div

    var summaryData = $("#jqxGrid").jqxGrid('getcolumnaggregateddata', 'wMwst1', ['sum']);
    $('#idOffen').html(summaryData);

    can anyone tell me what I’m doing wrong here?

    in reply to: no Scrollbar in FF no Scrollbar in FF #12028

    detberlin
    Participant

    I have now solved it with an iframe

    in reply to: no Scrollbar in FF no Scrollbar in FF #11941

    detberlin
    Participant

    hi Peter,

    i use the version 17.0.1 of FireFox

    and your actual version of jQWidgets

    my gesHtml is a long long html text over two pages

    i have in IE and Crome a H-Scrollbar and non in FF

    i cant scroll in FF

    in reply to: set value from db set value from db #11842

    detberlin
    Participant

    however my last example works fine,

    it is not safe enough for me.

    have you a example for me?

    i understand english not so good

    I am practitioner and can read the source code
    and then understand better what you meant

    in reply to: set value from db set value from db #11840

    detberlin
    Participant

    i will not select….
    i will display my single record from db in promtText no selected….

    now understand?

    in reply to: set value from db set value from db #11837

    detberlin
    Participant

    hi Peter,

    i hope you can now to reproduce?

    or have you any idea?

    this is not save for me

    greeting Detberlin

    in reply to: set value from db set value from db #11817

    detberlin
    Participant

    you understand me not ever,

    my other attempt

    var regPlzArray = ["10115","10117","10119","10178","10179","10243","10247","10249","10369","10405","10407","10409","10435","10437","10439"];
    $('#regFeld10').jqxDropDownList({source:regPlzArray, selectedIndex:-1, width:68, height:20, dropDownHeight:186, itemHeight:23,
    animationType:'none', searchMode:'none', promptText:kdnPlz, theme:'energyblue'});
    function kdnLaden(){
    var regWerben = true; var regLetter = true;
    $.ajax({type: 'POST', async:false, dataType:'json', url:'phregist.php?regWahlen=2&userReg= WHERE regidx01=' + regUser}).done(
    function(prfdata){
    if (prfdata[0].regtxt00 == 'Herr') $('#regRadio1').jqxRadioButton('check'); else $('#regRadio2').jqxRadioButton('check');
    if (prfdata[0].regchk01 == 0) regWerben = false; $('#regCheck1').jqxCheckBox({checked:regWerben});
    if (prfdata[0].regchk02 == 0) regLetter = false; $('#regCheck2').jqxCheckBox({checked:regLetter});
    $('#regFeld01').val(prfdata[0].regtxt01); $('#regFeld02').val(prfdata[0].regtxt02); $('#regFeld03').val(prfdata[0].regtxt03);
    $('#regFeld04').val(prfdata[0].regtxt04); $('#regFeld05').val(prfdata[0].regtxt05); $('#regFeld06').val(prfdata[0].regtxt06);
    $('#regFeld07').val(prfdata[0].regtxt07); $('#regFeld08').val(prfdata[0].regtxt08); $('#regFeld09').val(prfdata[0].regtxt09);
    $('#regFeld11').val(prfdata[0].regtxt11); $('#regFeld12').val(prfdata[0].regtxt12); $('#regFeld13').val(prfdata[0].regtxt13);
    $('#regFeld14').val(prfdata[0].regtxt14);
    // the next methode
    kdnPlz = prfdata[0].regtxt10;});
    }

    kdnPlz = data from Datafield
    promtText = kdnPlz

    i hope this is correct….

    detberlin

    in reply to: set value from db set value from db #11813

    detberlin
    Participant

    here a example

    function kdnLaden(){
    var regWerben = true; var regLetter = true;
    $.ajax({type: 'POST', async:false, dataType:'json', url:'phregist.php?regWahlen=2&userReg= WHERE regidx01=' + regUser}).done(
    function(prfdata){
    if (prfdata[0].regtxt00 == 'Herr') $('#regRadio1').jqxRadioButton('check'); else $('#regRadio2').jqxRadioButton('check');
    if (prfdata[0].regchk01 == 0) regWerben = false; $('#regCheck1').jqxCheckBox({checked:regWerben});
    if (prfdata[0].regchk02 == 0) regLetter = false; $('#regCheck2').jqxCheckBox({checked:regLetter});
    $('#regFeld01').val(prfdata[0].regtxt01); $('#regFeld02').val(prfdata[0].regtxt02); $('#regFeld03').val(prfdata[0].regtxt03);
    $('#regFeld04').val(prfdata[0].regtxt04); $('#regFeld05').val(prfdata[0].regtxt05); $('#regFeld06').val(prfdata[0].regtxt06);
    $('#regFeld07').val(prfdata[0].regtxt07); $('#regFeld08').val(prfdata[0].regtxt08); $('#regFeld09').val(prfdata[0].regtxt09);
    $('#regFeld11').val(prfdata[0].regtxt11); $('#regFeld12').val(prfdata[0].regtxt12); $('#regFeld13').val(prfdata[0].regtxt13);
    $('#regFeld14').val(prfdata[0].regtxt14);
    $('#regFeld10').jqxDropDownList(prfdata[0].regtxt10); //this is my attempt
    });
    }
    in reply to: set value from db set value from db #11812

    detberlin
    Participant

    hi Peter,

    you misunderstood me.

    do you speak German?

    my english iss not so good

    in reply to: no Scrollbar in FF no Scrollbar in FF #11729

    detberlin
    Participant

    here my code

    $(document).ready(function(){
    var gesTitle = ''; var gesDatei = ''; var gesHtml = '';
    if (iLoadModul == 0) {gesTitle = 'AGB'; gesDatei = 'agb'; gesHtml = agbText();} else {gesTitle = 'Impressum'; gesDatei = 'impressum'; gesHtml = impressText();}
    var myCreateElement = $('<div id="gesWindow"><div>' +
    '<div id="gesPanel" style="background-color:#e1e1e6; position:absolute; left:0px; top:29px; overflow:hidden;">' + gesHtml + '</div>' +
    '<input id="gesCancel" style="float:right; margin-top:494px; margin-right:250px;" type="button" value="Schlie&szlig;en">' +
    '<input id="gesSenden" style="float:right; margin-top:494px; margin-right: 3px;" type="button" value="Download">' +
    '</div></div>'); $(document.body).append(myCreateElement);
    $('#gesPanel').jqxPanel({width:692, height:487, theme:'energyblue'});
    $('#gesSenden').jqxButton({height:'30px', width:'91px', theme:'energyblue'}); $('#gesCancel').jqxButton({height:'30px', width:'91px', theme:'energyblue'});
    $('#gesWindow').bind('closed',function (event){$('#gesWindow').remove();}); var xPos = $('#mitte').offset().left; var yPos = $('#mitte').offset().top;
    $('#gesWindow').jqxWindow({position:{x: xPos + ((767 - 694) / 2), y: yPos + ((666 - 568) / 2)}, width:694, height:568, maxHeight:700, closeAnimationDuration:0,
    autoOpen:true, isModal:true, resizable:false, showAnimationDuration:0, draggable:false, cancelButton:$('#gesCancel'), theme:'mydarkblue'});
    $('#gesWindow').jqxWindow('setTitle', gesTitle); $('#gesSenden').bind('click', function() {ladeInfoFile('xdefault/' + gesDatei);});
    })

    html-part

    <link rel="stylesheet" href="index.css" type="text/css">
    <link rel="stylesheet" href="moduljqx/jqx.base.css" type="text/css">
    <link rel="stylesheet" href="moduljqx/mydarkblue.css" type="text/css">
    <link rel="stylesheet" href="moduljqx/jqx.energyblue.css" type="text/css">
    <script type="text/javascript" src="moduljqx/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="moduljqx/jqxcore.js"></script>
    <script type="text/javascript" src="moduljqx/jqxdata.js"></script>
    <script type="text/javascript" src="moduljqx/jqxgrid.js"></script>
    <script type="text/javascript" src="moduljqx/jqxscrollbar.js"></script>
    <script type="text/javascript" src="moduljqx/jqxgrid.selection.js"></script>
    <script type="text/javascript" src="moduljqx/jqxlistbox.js"></script>
    <script type="text/javascript" src="moduljqx/jqxdropdownlist.js"></script>
    <script type="text/javascript" src="moduljqx/jqxbuttons.js"></script>
    <script type="text/javascript" src="moduljqx/jqxpanel.js"></script>
    <script type="text/javascript" src="moduljqx/jqxcheckbox.js"></script>
    <script type="text/javascript" src="moduljqx/jqxradiobutton.js"></script>
    <script type="text/javascript" src="moduljqx/jqxwindow.js"></script>
    <script type="text/javascript" src="moduljqx/jqxvalidator.js"></script>
    <script type="text/javascript" src="wconfigs.js"></script>
    <script type="text/javascript" src="xangebot.js"></script>

    oh….. the vertical scrollbar is not displayed

    thx detberlin

    in reply to: no Scrollbar in FF no Scrollbar in FF #11727

    detberlin
    Participant

    ok i have found

    in reply to: no Scrollbar in FF no Scrollbar in FF #11724

    detberlin
    Participant

    hi Peter,

    thanks for you answer,

    How can I enter for html code without it running?


    detberlin
    Participant

    hi Peter,

    big thanks for you answer and clean up my code.

    my english is not so good. i hope you understand my problem.

    I want to read the first data record.
    The first data record has even more details to be output.
    The details are to be issued at the same opening.

    here my code….

    $(document).ready(function () {

    var elements = $(‘

    Zusatzstoffe
    ‘ +

    ‘ +

    ‘ +

    ‘ +

    ‘);
    $(document.body).append(elements);
    var xVarPos = $(‘#zusWindow’).offset().left;
    var yVarPos = $(‘#zusWindow’).offset().top;
    $(‘#zusWindow’).jqxWindow({ position: { x: xVarPos + 301, y: yVarPos + 300 }, height: 355, width: 690, showAnimationDuration: 0,
    closeAnimationDuration: 0, resizable: false, draggable: false, isModal: true, theme: ‘darkblue’
    });
    var zussourcen = { datatype: “json”, datafields: [{ name: ‘stftxt01’ }, { name: ‘stftxt02’}], url: ‘moduldat/phzusatz.php’ };
    var zusAdapter = new $.jqx.dataAdapter(zussourcen);
    $(‘#zusatzList’).jqxGrid({ width: 270, height: 308, source: zusAdapter, columnsresize: false, rowsheight: 22, enableanimations: false, altrows: true, showheader: false, selectedrowindex: 0, theme: ‘energyblue’,
    columns: [{ text: ‘Artikel’, dataField: ‘stftxt01’, width: 250 }, { text: ‘Beschreibung’, dataField: ‘stftxt02’, width: 250, hidden: true}]
    });
    $(‘#zusatzList’).bind(‘rowselect’, function (event) {
    $(‘#zusDetails’).html($(‘#zusatzList’).jqxGrid(‘getcellvalue’, event.args.rowindex, ‘stftxt02’));
    });
    })
    the first data record I have been selected.
    Now the details will automatically be displayed.

    best thanks for you answer.
    have a nice day
    detberlin

    in reply to: Test Topic Test Topic #5270

    detberlin
    Participant

    hi Peter,

    big thanks for you answer and clean up my code.

    my english is not so good. i hope you understand my problem.

    I want to read the first data record.
    The first data record has even more details to be output.
    The details are to be issued at the same opening.

    here my code….

    $(document).ready(function () {

                var elements = $(‘<div id=”zusWindow”><div>Zusatzstoffe</div><div>’ +

                ‘<div id=”zusatzList” style=”position:absolute; margin-top:3px; margin-left:3px;”></div>’ +

                ‘<div style=”background-color:#ffffff; border:1px #7f9db9 solid; position:absolute; margin-top:3px; margin-left:283px; width:392px; height:308px;”></div>’ +

                ‘<div id=”zusDetails” style=”font-family:Verdana; font-size:13px; text-align:left; position:absolute; margin-top:6px; margin-left:286px; width:386px; height:302px;”></div>’ +

                ‘</div></div>’);

                $(document.body).append(elements);

                var xVarPos = $(‘#zusWindow’).offset().left;

                var yVarPos = $(‘#zusWindow’).offset().top;

                $(‘#zusWindow’).jqxWindow({ position: { x: xVarPos + 301, y: yVarPos + 300 }, height: 355, width: 690, showAnimationDuration: 0,

                    closeAnimationDuration: 0, resizable: false, draggable: false, isModal: true, theme: ‘darkblue’

                });

                var zussourcen = { datatype: “json”, datafields: [{ name: ‘stftxt01’ }, { name: ‘stftxt02’}], url: ‘moduldat/phzusatz.php’ };

                var zusAdapter = new $.jqx.dataAdapter(zussourcen);

                $(‘#zusatzList’).jqxGrid({ width: 270, height: 308, source: zusAdapter, columnsresize: false, rowsheight: 22, enableanimations: false, altrows: true, showheader: false, selectedrowindex: 0, theme: ‘energyblue’,

                    columns: [{ text: ‘Artikel’, dataField: ‘stftxt01’, width: 250 }, { text: ‘Beschreibung’, dataField: ‘stftxt02’, width: 250, hidden: true}]

                });

                $(‘#zusatzList’).bind(‘rowselect’, function (event) {

                    $(‘#zusDetails’).html($(‘#zusatzList’).jqxGrid(‘getcellvalue’, event.args.rowindex, ‘stftxt02’));

                });

            })

    the first data record I have been selected.
    Now the details will automatically be displayed.

    best thanks for you answer.
    have a nice day
    detberlin

Viewing 15 posts - 31 through 45 (of 45 total)