EasyUI Forum
September 14, 2025, 03:27:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / General Discussion / Re: EasyUI and fluid design on: June 22, 2012, 06:33:26 AM
We have the same problem, we do not want to be forced the recalculate panes when the browser windows changes size. What for solution do you offer?
2  General Category / EasyUI for jQuery / Re: Readonly row in propertygrid on: June 12, 2012, 11:33:20 AM
Thanks, this solves our problem. When you implement this for the next version, it would be nice to have the possibility for a different styling for a read-only property (greyed out or italic..)
3  General Category / EasyUI for jQuery / Readonly row in propertygrid on: June 11, 2012, 12:39:17 PM
I would like to use the propertygrid component. However, not all the properties I want to display are mutable. How can I specify that a certain property is readonly.
I have tried to configure an empty editor, but this gives a javascript error:

Error: $(this).datagrid("getEditors", _57b)[0] is undefined
Source File: https://localhost:8443/IntakeBE/include/scripts/jquery-easyui/jquery.easyui.min.js
Line: 7680
4  General Category / EasyUI for jQuery / Re: Select all checked rows in datagrid on: June 05, 2012, 02:11:33 AM
This does not work when we have alternating rows (striped: true), then class is empty or datagrid-row-alt:

<tr class="" datagrid-row-index="0" style="height: 28px;">
<tr class="datagrid-row-alt" datagrid-row-index="1" style="height: 28px;">
<tr class="" datagrid-row-index="2" style="height: 28px;">
<tr class="datagrid-row-alt" datagrid-row-index="3" style="height: 28px;">
<tr class="" datagrid-row-index="4" style="height: 28px;">
<tr class="datagrid-row-alt" datagrid-row-index="5" style="height: 28px;">
<tr class="" datagrid-row-index="6" style="height: 28px;">
<tr class="datagrid-row-alt" datagrid-row-index="7" style="height: 28px;">
<tr class="" datagrid-row-index="8" style="height: 28px;">
<tr class="datagrid-row-alt" datagrid-row-index="9" style="height: 28px;">
<tr class="" datagrid-row-index="10" style="height: 28px;">
<tr class="datagrid-row-alt" datagrid-row-index="11" style="height: 28px;">
<tr class="" datagrid-row-index="12" style="height: 28px;">
<tr class="datagrid-row-alt" datagrid-row-index="13" style="height: 28px;">
<tr class="" datagrid-row-index="14" style="height: 28px;">

Seems to work with:

jq.datagrid('getPanel').find('div.datagrid-cell-check input:checked').each(function(){
         var index = $(this).parents('tr:first').attr('datagrid-row-index');
         rr.push(rows[index]);
      });
5  General Category / EasyUI for jQuery / Select all checked rows in datagrid on: June 04, 2012, 06:03:17 AM
When using the datagrid, it is easy to add a checkbox for each row. However, it seems a method such as .datagrid("getChecked") is missing, which would return all rows where the checkbox has been selected, in the same way as .datagrid("getSelections") return all rows that have been selected.

How can we accomplish this with the datagrid component?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!