Show Posts
|
Pages: [1]
|
5
|
General Category / EasyUI for jQuery / Re: Datagrid cell question
|
on: January 16, 2018, 09:20:09 PM
|
Thanks. It work's But if I want show dialog as tooltip? I need return tooltip for a every cell in datagrid as a different dialog contents How I can use something in function formatAttribute , for example: var clickedData = resultData.rows; var clickedCell = clickedData[index]; var cell = clickedCell[field]; $('#dlg').dialog({ title: 'Замеры за ' + field, width: 220, height: height, closed: false, cache: false, content: function () { var tableDialog = document.createElement( 'table'); tableDialog.style.width = "100%"; tableDialog.id = 'dataGridDialog' + wellId; document.getElementById('dlgCheckerboard' + wellId) .appendChild(tableDialog); $('#dataGridDialog' + wellId) .datagrid({ data: obj, title: 'Параметр ' + clickedCell["NAME"], striped: true, bodyCls: "dialog-color", singleSelect: true, fit: true, border: false, fitColumns: true, remoteSort: false, remoteFilter: false, columns: [[ { field: 'time', title: 'Время', halign: 'center', width: "45%" }, { field: 'value', title: 'Значение', halign: 'center', width: "55%", sortable: true, styler: cellDialogStyler } ]], showFooter: true }); } });
|
|
|
6
|
General Category / EasyUI for jQuery / Datagrid cell question
|
on: January 15, 2018, 10:58:09 PM
|
Hello! Can I get cell value on hover mouse by cells in datagrid? All methods of datagrid getting Row data, but I need to know what cell selected (hover mouse). How I can do it? I want to show additional information in cell by tooltip.
|
|
|
9
|
General Category / Bug Report / Dialog position
|
on: January 12, 2017, 08:45:22 PM
|
Hi! After update EasyUI to 1.5.1, I try drag Dialog and close it. After opening this dialog again position set to default - center. When I used EasyUI 1.5 dialog box opened in the same position
|
|
|
10
|
General Category / EasyUI for jQuery / Re: tabletoexcel for datagrid
|
on: November 29, 2016, 09:43:48 PM
|
Just tried the extended code,
Simple datagrid with pagination, 4 cols and 25 rows
In this line
alink[0].click(); An error says "The data area that is send to a systemcall, is too small"
Hi. I have some problem too with IE 11...
|
|
|
12
|
General Category / EasyUI for jQuery / Re: Many columns in DataList
|
on: August 28, 2016, 09:56:52 PM
|
Hi, stworthy. Thanks for help. I try your code, but it's not exactly that I need I want to split datalist into two columns with checkboxes too. 1 attached file - result of your code 2 attached file - that I need
|
|
|
13
|
General Category / EasyUI for jQuery / Re: Many columns in DataList
|
on: August 26, 2016, 04:06:21 AM
|
I try this: [ {"text2":"01. Qж авт."}, {"text":"02. Qж ручн."}, {"text2":"03. Qн авт."}, {"text":"04. Qн ручн."}, {"text2":"05. Обв.% об. авт.."}, {"text":"06. Обв.% об. ручн."}, {"text2":"07. Dшт"}, {"text":"08. Pбуф"}, {"text2":"09. Pлин"}, {"text":"10. Hдин"}, {"text2":"11. Pпл ВНК (ТМС)"}, {"text":"12. Pпл ВДП (Hстат.)"}, {"text2":"13. Pпл ВДП (манометр)"}, {"text":"14. Pпл ВДП (ручн.)"}, {"text2":"15. Pпл ВНК (Hстат.)"}, {"text":"16. Pпл ВНК (манометр)"}, {"text2":"17. Pпл ВНК (ручн.)"}, {"text":"18. Pзаб ВНК (ТМС)"}, {"text2":"19. Рзаб ВДП (ручн.)"}, {"text":"20. Рзаб ВДП (Ман.)"}, ] $('#dataList').datalist({ url: '/rest/cb/getParameters', checkbox: true, lines: true, selectOnCheck: false, height: 300, columns:[[ {field:'text',width:'50%'}, {field:'text2',width:'50%'} ]] }); But isn't that i need...
|
|
|
14
|
General Category / EasyUI for jQuery / Re: Many columns in DataList
|
on: August 26, 2016, 03:59:59 AM
|
My structure json file: [ {"text":"01. Qж авт."}, {"text":"02. Qж ручн."}, {"text":"03. Qн авт."}, {"text":"04. Qн ручн."}, {"text":"05. Обв.% об. авт.."}, {"text":"06. Обв.% об. ручн."}, {"text":"07. Dшт"}, {"text":"08. Pбуф"}, {"text":"09. Pлин"}, {"text":"10. Hдин"}, {"text":"11. Pпл ВНК (ТМС)"}, {"text":"12. Pпл ВДП (Hстат.)"}, {"text":"13. Pпл ВДП (манометр)"}, {"text":"14. Pпл ВДП (ручн.)"}, {"text":"15. Pпл ВНК (Hстат.)"}, {"text":"16. Pпл ВНК (манометр)"}, {"text":"17. Pпл ВНК (ручн.)"}, {"text":"18. Pзаб ВНК (ТМС)"}, {"text":"19. Рзаб ВДП (ручн.)"}, {"text":"20. Рзаб ВДП (Ман.)"}, ] I need displays this data in two columns in datalist. Is it possible?
|
|
|
15
|
General Category / EasyUI for jQuery / Many columns in DataList
|
on: August 25, 2016, 11:34:53 PM
|
Hi! I need display data in two or three columns. I use dataList component. How I make it? $('#dataList').datalist({ url: '/rest/cb/getParameters', checkbox: true, lines: true, selectOnCheck: false, height: 300 });
|
|
|
|