Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • in reply to: Incorrect format of date Incorrect format of date #106926

    Zabelsky
    Participant

    { text: "Visa", datafield: "_Visa", width: "16%", type: "date", cellsformat: 'dd.MM.yyyy', nullable: true }
    Is it correctly?
    Because I got http://prntscr.com/pedtgz (check screen,please)
    Second try:
    { text: "Visa", datafield: "_Visa", width: "16%", type: "date", cellsformat: 'dd.MM.yyyy', nullable: true, cellsrenderer: rendd }
    and rendd:

     var rendd = function (row, column, value) {
                if (value == null) {
                    return true;
                } else return value;
            }; 

    but I got result like in the 1th attemp

    • This reply was modified 3 years, 8 months ago by  Zabelsky.
    in reply to: Incorrect format of date Incorrect format of date #106925

    Zabelsky
    Participant

    Hi,Peter.
    I tried to use rendering by handling the cellrenderer column callback function,but that cellsformat didn`t work and return to cell the string like ( Sun Nov 17 2019 00:00:00 GMT+0300 (Саудовская Аравия, стандартное время)).but in function I was return the object.
    But I didn`t try setting nullable.
    Please,describe or give me example how to use setting nullable
    Big thanks,Peter.
    With best regards,
    Alexey Zabelsky.

    in reply to: Render not working Render not working #103522

    Zabelsky
    Participant

    Thx for help.
    have a good day

    in reply to: Render not working Render not working #103456

    Zabelsky
    Participant

    I was resolved this problem with help $('#grid').jqxGrid('updatebounddata', 'cells');
    But i have another problem
    if I was selected row and after click on THIS rows span,for example, logHook(row),that its not working
    But if I click immediately on span without select row,that working is good
    I don`t understand what happens
    Help me,pls

    • This reply was modified 4 years, 4 months ago by  Zabelsky.

    Zabelsky
    Participant

    A host day could not find the answer,decided to postpone on tomorrow and write on forum.
    I came to work in the morning and came up with a solution almost immediately…

    $scope.settings.selectionmode = ‘none’ is resolving my problem.
    Apparently the reason was in choosing the string
    Sorry for the trouble.

    in reply to: Scroll error at grid Scroll error at grid #98973

    Zabelsky
    Participant

    Sorry for worry.
    I solved the problem on my own.
    Be careful with the combobox and createeditor.
    Good luck in future 🙂

    in reply to: Why cannot add a new column? Why cannot add a new column? #98595

    Zabelsky
    Participant

    Thanks for answer,Stanislav, but that’s not it.what I need.
    Me need change columns at columngroups ,not data.
    have a good day

    in reply to: Why cannot add a new column? Why cannot add a new column? #98591

    Zabelsky
    Participant

    I have initialized grid and save state to DB.
    Me need every tuesday change columns at columngroup.
    I have calendar(columngroup),which have some columns with current week.
    When starting new week,me need delete columns with old week from columngroups and after add columns with new week.
    But remember,that i have state at DB with old state.
    Every tuesday i am automatic change columns in columngroups,therefore when i am at tuesday load the state,grid is destroy,caz state contains old week.

    • This reply was modified 5 years, 3 months ago by  Zabelsky.
    in reply to: Grid,update,columngroup Grid,update,columngroup #97279

    Zabelsky
    Participant

    Thx for help,Hristo.
    have a good day

    Best Regards,
    Alexey Zabelsky


    Zabelsky
    Participant

    Sorry,my bad.
    I find function jqxGrid(‘getsortinformation’);


    Zabelsky
    Participant

    You were absolutely right.
    Thank you for answer
    I reorganized the code to create the widget by pressing on button.
    This problem was due to the fact that i try to create this widget asynchronously at uibModal
    P.S. I`m used angularJS
    Have a good day,Hristo.
    U r best 🙂

    in reply to: Grid,combobox,select Grid,combobox,select #96030

    Zabelsky
    Participant

    Sorry for the trouble.
    I have resolve my problem.
    I was used
    $scope.settings.selectionmode = 'singlerow';
    Now i`m use:
    $scope.settings.selectionmode = 'singlecell';
    code working is correctly
    thx for attention,friend!

    • This reply was modified 5 years, 8 months ago by  Zabelsky.
    in reply to: When the library is updated? When the library is updated? #95666

    Zabelsky
    Participant

    Thx for answer,Stanislav.

    in reply to: Short date for grid Short date for grid #95266

    Zabelsky
    Participant

    Cellsformat works on first line?
    In my opinion :
    if i have array,when,for example, [0].SomeDate is null
    then column will sort how string and cellsformat is not work?
    oh,amazing 🙂
    thx for answer,friend

    in reply to: How to change selectionmode? How to change selectionmode? #92883

    Zabelsky
    Participant

    thx for the answer
    have a good day

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