jQWidgets Forums
jQuery UI Widgets › Forums › TreeGrid › Why does not support checkbox?
Tagged: treegrid
This topic contains 9 replies, has 4 voices, and was last updated by Martin 6 years, 8 months ago.
-
Author
-
hello I see this topic
http://www.jqwidgets.com/community/topic/treegrid-checkbox/
but I see only text true : false{ text: 'Menu', datafield: 'IsMenu', width: '5%', columnGroup: 'group', threestatecheckbox: false, columntype: 'checkbox' }, { text: 'Active', datafield: 'IsActive', width: '5%', columnGroup: 'group', threestatecheckbox: false, columntype: 'checkbox' },
What do you recommend for me? I can not use because way
thank youHi mustafa,
You can find the available API on the API documentation page about the TreeGrid.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI do not understand you
I have already looked into documents but no documentsHi mustafa,
The Documentation is available on the Documentation page. Expand jqxTreeGrid to find out the documentation about jqxTreeGrid. The API Documentation can be found there, too. Just click the link API. And the link to the page is: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxtreegrid/jquery-treegrid-api.htm
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comhello peter
why? you don’t understandYes I saw there CheckBox but
but only for the row
http://jsfiddle.net/jqwidgets/fhbLa/can I do for this cell? because columntype this does not working for treegrid..
example grid
{ text: ‘Active’, datafield: ‘IsActive’, width: ‘5%’, threestatecheckbox: false, columntype: ‘checkbox’ },
thank youHi mustafa,
Where did you saw such API about jqxTreeGrid? There isn’t on our TreeGrid API page. There is no “threestatecheckbox” and there is no “columntype: checkbox” There is no such feature in jqxTreeGrid.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comhi peter
ok
.well
Is this functionality being planned in the next upgrade? and Do you have any suggestion for me? because
true false text seem so bad
thanksHi mustafa,
We’ll consider it when we discuss the roadmap. For now, our plans our published online and can be found on the roadmap page.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI want a checkbox column in JqxTreeGrid. Can somebody tell me how can i achieve it?
Here is my Code : –columns: any[] = [ { text: 'Name', dataField: 'AssetClassName', align: 'center', width: '70%' }, { text: 'Code', dataField: 'AssetClassCode', align: 'right', cellsAlign: 'right', width: '20%' }, { text: 'Inactive', dataField: 'Inactive', filtertype: 'checkedlist', align: 'center', cellsAlign: 'center', width: '10%' , columnType: 'template', createEditor: (row, cellvalue, editor, cellText, width, height) => { // construct the editor. editor.jqxCheckBox({ checked: false, hasThreeStates: false}); }, initEditor: (row, cellvalue, editor, celltext, width, height) => { // set the editor's current value. The callback is called each time the editor is displayed. editor.jqxCheckBox('checked', cellvalue); }, getEditorValue: (row, cellvalue, editor) => { // return the editor's value. return editor.val(); } } ];
Right now If i double click on that cell then checkbox shows there but i want active inactive checkbox by default with the saved values.
Hello ErVishalM,
Unfortunately, this functionality is not supported for the jqxTreeGrid for the moment.
You can follow our updates at our Roadmap and Release History pages.Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.