jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts

  • Mahesh
    Participant

    Hi Peter

    I mention already that, I tried initeditor with no success and you are suggesting me again to do the same thing.
    Even I referred the documentation thoroughly (which has always been nightmare for me).

    My question was “Also want to know that, is createeditor is required along with initeditor.”
    Are they substitute for each other, but just wanted to confirm that with you. But you didn’t answered that.

    The real problem is that, when I expect initeditor to be called but then the createeditor also gets called every time.
    The documentation says that “This function is called only once – when the editor is created.”

    Please provide me some example about how to change the data source dynamically, in case of combobox column type.

    Best regards,
    Mahesh


    Mahesh
    Participant

    Hello,

    Another query.

    I have a column in the jqxGrid with columntype combobox.
    I want the ComboBox list items to be refreshed with some different items for each row based on other cell value of the current row.

    In the following code snippet aryRateType is the data source of the ComboBox.
    Which event should I use to change the data source dynamically?
    What is good option, change the entire data source or replace items from the data source.
    Total items are 15 and out of them 3 to 5 needs to be shown in the ComboBox list.
    Give me some example.

    ….
    …. createeditor = function (row, cellValue, editor, cellText, width, height) {
    editor.jqxComboBox({
    source: aryRateType, displayMember: ‘RateTypeDesc’, valueMember: ‘RateType’,
    width: width, height: height
    })

    Best regards,
    Mahesh


    Mahesh
    Participant

    Thanks Martin for the nice explanation.
    Regards,
    Mahesh


    Mahesh
    Participant

    Hello Martin,

    I also want to know whether setcellvalue method triggeres cellvaluechanged event or cellendedit event.

    Regards,

    Mahesh.


    Mahesh
    Participant

    Hello Martin,

    I went through your example.
    Apparently it seems to be working, but I could not understand the logic.
    Please explain it in a very simple way.

    Regards,

    Mahesh

    in reply to: Grid column background color Grid column background color #121480

    Mahesh
    Participant

    Hello Martin,

    Please provide a sample code.

    Regards,
    Mahesh


    Mahesh
    Participant

    Hi Peter,

    I think I was not able to make you understand my requirement.

    I want jqxListBox items to be shown in multiple columns in other words,
    Instead of putting all the items vertically one after another I want
    the list of items needs to be extended to a next column when not fitting vertically in the box.
    This way I can use the screen space properly.

    In one of my requirements I need that, users would see all the checkbox items at a time without needing to scroll down vertically.

    Regards,

    Mahesh


    Mahesh
    Participant

    Hello Todor,

    Thanks for the updated example.
    It works exactly as per my expectations. (You should incorporate it in the sample demos to benefit others too.)

    One another requirement:

    I want that, ListBox (jqxListBox) with Checkboxes must have multiple columns.

    ListBox with multiple columns of Checkboxes is very common to
    see on the web but surprisingly it’s not there in the jqxListBox widget.
    Actually it saves space and sometimes convenient.

    Can you help me in this case with some workaround solution.
    Thanks in advance.

    Regards

    Mahesh


    Mahesh
    Participant

    Hi Todor,

    Thanks for the reply.
    The example provided by you is really helpful.

    Can we center the column header vertically and horizontally in your example.
    It would be so kind of if you do that and provide the example again.

    Best Regards
    Mahesh.


    Mahesh
    Participant

    Hi Peter,

    I already knew, it works with <DIV> tag.

    Sorry to ask you this, but if INPUT tag is not working in such a way then why it’s mentioned in the
    demos like we can Initialize from Input tags having type attributes:
    <input type=”date” id=’date’ />
    <input type=”time” id=’time’ />
    <input type=”datetime” id=’datetime’ />

    It would be so kind of you if you either justify me how it works after Initialized from Input tags, with fully function sample
    or accept the fact that there is a big mistake with documentation.

    Response it awaited and efforts in this regard would be highly appreciated.

    Best regards

    Mahesh


    Mahesh
    Participant

    Hi Peter,
    Thanks for the reply.

    The Working sample (with jqxDateTimeInput and FORM submit) provided by you is using <div> tag
    see the line from your sample:
    <tr>
    <td>Birth date:</td>
    <td><div name=”birthdate” id=”birthInput”></div></td>
    </tr>

    If I too use <div> tag for date it works fine and I get the value in form collection.

    But I want to use input tag like this:
    <input id=”JoiningDate” name=”JoiningDate” type=”datetime” />

    When I do this the form collection shows the field JoiningDate but no value
    (i.e. myHttpContext.Request.Form(“JoiningDate”) value is “”)

    Can’t we use a input tag for type=(datetime, date and time) and submit the form with proper values.
    In my case it’s not working.


    Mahesh
    Participant

    Hi Peter,
    Thanks for the reply.

    Can you give me any idea or sample code to achieve it.

    Best regards,
    Mahesh


    Mahesh
    Participant

    Hi Todor,

    Thanks for your reply.

    I am aware of those topics which you mentioned above. (column->render->text)

    My concern is if a end user changes the width of the column by dragging the column divider with the help of mouse then it should adjust the column header accordingly.

    It is possible some how?

    In fact those are very old posts of May-2015.
    By now this feature should have been incorporated in your development agenda.
    So that we don’t have to run after work around solutions like using render feature.

    Please send this to the developer team and also inform me.
    Put it on top priority.

    Best Regards


    Mahesh
    Participant

    Hi Peter,

    I want to get the date value from jqxDateTimeInput and I am not getting it in the Form keys collection after the form submit (post).

    My code lines are as below:

    <form id=”myForm” name=”myForm” style=”font-size:smaller” method=”post” action=”SaveCandidate” enctype=”multipart/form-data”>
    <input id=”BirthDate” name=”BirthDate” type=”date” />
    <input id=”JoiningDate” name=”JoiningDate” type=”datetime” />
    <input id=”btnSave” type=”submit” value=”Save” style=”width: 80px; “>
    </form>

    <script type=”text/javascript”>
    $(“#BirthDate”).jqxDateTimeInput({ width: ‘300px’, height: ’25px’ });
    $(“#JoiningDate”).jqxDateTimeInput({ width: ‘300px’, height: ’25px’ });
    </script>

    In fact the keys named “BirthDate” and “JoiningDate” are there in the form key collection but the value is missing.
    (for e.g. myHttpContext.Request.Form(“JoiningDate”) value is “”)

    It will be more helpful if you provide a fully working sample as I have already gone through your old posts in this regards.

    Regards,
    Mahesh


    Mahesh
    Participant

    Hello Hristo,

    I think there is a bug in the jqxdatetimeinput widget.

    It allows to change date value only when it run from Desktop PC browser.

    It won’t if run from mobile device browser. In such case we need to use calendar button.

    This thing I have checked in your mobile demos itself thru mobile device browser (Google chrome latest).
    https://www.jqwidgets.com/jquery-widgets-demo/mobiledemos/jqxdatetimeinput/index.htm#demos/jqxdatetimeinput/datetimeinput.htm

    Regards

    Mahesh

Viewing 15 posts - 1 through 15 (of 24 total)