jQuery UI Widgets › Forums › Grid › Grid events
Tagged: Cell, cellsrenderer, event, grid, jqxgrid, jqxprogressbar, progressbar, rendered
This topic contains 4 replies, has 2 voices, and was last updated by Ridbark 9 years, 2 months ago.
-
AuthorGrid events Posts
-
Hello
I need to know if an event exist when all cells have finish to create rendering?
Why? Because in the rendering function, i create a div with an ID. Thanks to this ID, after, I can create a jqxProgressBar into this cell! But i can’t create it in the rendering function because the div with special ID is not in the DOM …
So I need to create my jqxProgressBar after that all cells have finish to create rendering.This is my rendering function :
columns[i]['cellsrenderer'] = function (row, columnfield, value, defaulthtml, columnproperties, data) { self.widgetAdded[row + "_" + columnfield] = {'value' : value}; var cell = '<div id="' + row + '_' + columnfield + '"></div>'; return cell; };
And what I have to do after each call to this function :
for(var row in this.widgetAdded) { this.$element.find("#" + row).jqxProgressBar({value: this.widgetAdded[row].value, showText: true}); }
Best regards,
RidbarkHello Ridbark,
Unfortunately, there is no such event. Moreover, while progressbar and other widgets can be implemented as editors, having them in cells is not supported.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Mhm, so i will create a deferred event from jquery to do that! Because except this problem, the jqxProgressBar is good into a cell! (good rendering, it’s the most important!).
I have also add a dropdownlist to one cell of my grid, and it works fine! But now, i wan’t to add a dropdownlist with checkboxes (so with multiple choice), and i have this error :
Uncaught TypeError: Cannot read property 'firstChild' of null ...jqwidgets/jqxlistbox.js:7
I don’t know why! Is it possible that you integrate only a part of jqxdropdownlist’s functionalities?
And I can’t find a link to one jsfiddle to try the implementation of the jqxdropdownlist into a grid (or other editors)! Is it possible to have one example on jsfiddle?Best regards,
RidbarkHi Ridbark,
We have such examples in our jqxGrid demo page, in the Editing section. They are also available in the jQWidgets download package.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi Dimitar,
Thank you, I find the example (in Custom column editor). I didn’t check that example!
Best regards,
Ridbark -
AuthorPosts
You must be logged in to reply to this topic.