Forum Replies Created
-
Author
-
{ 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 4 years, 2 months ago by Zabelsky.
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.Thx for help.
have a good dayI 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, 10 months ago by Zabelsky.
July 24, 2018 at 6:44 am in reply to: Incorrectly working cellsrenderer Incorrectly working cellsrenderer #101166A 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.Sorry for worry.
I solved the problem on my own.
Be careful with the combobox and createeditor.
Good luck in future 🙂February 6, 2018 at 10:15 am in reply to: Why cannot add a new column? Why cannot add a new column? #98595Thanks for answer,Stanislav, but that’s not it.what I need.
Me need change columns at columngroups ,not data.
have a good dayFebruary 6, 2018 at 7:44 am in reply to: Why cannot add a new column? Why cannot add a new column? #98591I 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, 10 months ago by Zabelsky.
Thx for help,Hristo.
have a good dayBest Regards,
Alexey ZabelskyNovember 2, 2017 at 9:36 am in reply to: How to get filter about desc or asc column? How to get filter about desc or asc column? #97073Sorry,my bad.
I find function jqxGrid(‘getsortinformation’);October 17, 2017 at 5:51 am in reply to: jqxlistbox,not working,problem with ID jqxlistbox,not working,problem with ID #96742You 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 🙂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 6 years, 2 months ago by Zabelsky.
August 28, 2017 at 9:08 am in reply to: When the library is updated? When the library is updated? #95666Thx for answer,Stanislav.
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,friendApril 12, 2017 at 9:31 am in reply to: How to change selectionmode? How to change selectionmode? #92883thx for the answer
have a good day -
AuthorPosts