jQWidgets Forums

Tagged: ,

This topic contains 23 replies, has 2 voices, and was last updated by  ivailo 10 years ago.

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
  • How to disable edit on jqxInput #70593

    ivailo
    Participant

    Hi cpuin,

    You are not set any data source about your jqxInput. Try to add source: dataAdapter and if the problem is not solved send a fiddle.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    How to disable edit on jqxInput #70635

    cpuin
    Participant

    Dear Ivailo,

    I didn’t set a source , because i don’t need any source!It’s simple empty filed on which later when company is selected in the table i want to SET display and value member to the filed.Before this there is no need of source.

    How to disable edit on jqxInput #70637

    cpuin
    Participant

    Dear Ivailo,

    Why this code alert the label, not the value?

    `
    $(‘#company’).jqxInput(‘val’, {label: row.Company, value: 33});
    alert($(‘#company’).val());

    How to disable edit on jqxInput #70645

    ivailo
    Participant

    Hi cpuin,

    There are 2 types of modes about this functionality of the jqxInput.
    First – in your case when the input is not associated to data source – .val() returns only the label.
    Second – when the input is associated to data source – .val() returns an object with label and value.

    To use the second mode you have to associate the widget with data source, valueMember and displayMember.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    How to disable edit on jqxInput #70657

    cpuin
    Participant

    Dear Ivailo,

    Now i understood.
    In this case i’m wandering how to keep ID and Value in empty array.

    How to disable edit on jqxInput #70658

    cpuin
    Participant

    I got this error when the data is empty, and NO errors when there is some data.

    Error: Invalid Selector – .printButtons! Please, check whether the used ID or CSS Class name is correct.

    How to disable edit on jqxInput #70659

    ivailo
    Participant

    Hi cpuin,

    This type of error is thrown when some widget is attached to DOM element, but the element with such ID or Class is missing.
    From the attached parts of your code until now, is no visible the reason about this error.

    The “.printButtons” class, mentioned in the error body, is not in your presented code.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    How to disable edit on jqxInput #70771

    cpuin
    Participant

    Dear Ivailo,

    There is no example how to keep both , the label and the value in array as source.

    How to disable edit on jqxInput #70821

    ivailo
    Participant

    Hi cpuin,

    In your case this code must work fine.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 9 posts - 16 through 24 (of 24 total)

You must be logged in to reply to this topic.