EasyUI Forum
May 12, 2024, 01:50:02 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 ... 7 8 [9] 10 11 ... 15
121  General Category / EasyUI for React / Re: Form validation rules changes on: October 16, 2019, 10:47:52 AM
I figured out a work around, I was not rendering the FormField that was wanting to not validate, but this left it in the model and rules somehow.  putting a display:none style on the FormField instead fixed this.
122  General Category / EasyUI for React / Form validation rules changes on: October 16, 2019, 10:35:56 AM
I'm trying to change the validation based on the data entered.  I have my rules object in the state, and setState to change them, and using Chrome's React Developer Tools I can see my changes, but "validate(errors => {...}) still gives errors for the original rules.

how can i make fields required or optional depending on the choices of other fields?
123  General Category / EasyUI for React / Re: how to use i18n in easyui for react on: October 14, 2019, 11:46:49 AM
this doesn't seem to be working.  in fact, if I edit rc-easyui/dist/locale/easyui-lang-en.js, my changes do not have any effect at all, no matter what language I choose.  how can I diagnose this one?
124  General Category / EasyUI for React / Re: TextBox and PasswordBox inputID not getting set on: October 14, 2019, 09:03:51 AM
this still isn't working.  a related issue, when I assign inputId to a TextBox that's inside a FormField, the inputId I assign is not used, an autogenerated like "form-field-inputid-7" is used instead.  this may at least be part of the problem
125  General Category / EasyUI for React / Re: error in "unbind" on a panel on: October 11, 2019, 01:03:38 PM
1.0.35 seems to have fixed this.
126  General Category / EasyUI for React / Re: add new icon on: October 11, 2019, 12:58:33 PM
simply add it to your CSS files. 

Code:
.icon-newicon{
        background:url('youricons/newicon.gif') no-repeat center center;
}

path to the icon is relative to the css file you put it in.
127  General Category / EasyUI for React / Re: grid filters affecting other grids on: October 11, 2019, 12:55:30 PM
I think you misunderstand. 

the filter itself is applying to other grids.  I don't want it to.
128  General Category / EasyUI for React / grid filters affecting other grids on: October 09, 2019, 07:30:20 AM
I'm experiencing an issue when using multiple grid where a filter on one grid is affecting another grid, even if that other grid does not have "filterable" property set, and even if I navigate to another route.  problem is, these other grid have no indication that a filter is applied and no way to clear it. besides reloading the page.

I'm simply putting the "filterable" property on a grid, then in one column I have a LinkButton that opens a Dialog which has a simple grid with completely different data in it. that simple grid is also having the first grid's filter applied, which of course matches nothing.

am i doing something incorrectly with having multiple grids?
129  General Category / EasyUI for React / Re: any way to override the filter match so it applies to the rendered cell? on: September 19, 2019, 12:08:47 PM
after some guessing, the scope clue I was looking for is:  import { filterOperators } from 'rc-easyui'
it was not clear that this was something that could be imported.
130  General Category / EasyUI for React / error in "unbind" on a panel on: September 19, 2019, 10:08:49 AM
I'm using react router, one path I'm getting an error when leaving going to any other path.  this version 1.0.34, but it was doing ti on 1.0.31 too.

Code:
rc-easyui-min.js:411 Uncaught TypeError: Cannot read property 'mousedown' of undefined
    at e.value (rc-easyui-min.js:411)
    at e.value (rc-easyui-min.js:10262)
    at t.value (rc-easyui-min.js:10172)
    [all the other react-dom lines]

error and point in the code in the attached screen shot, r.myevents is in showing as "undefined".

the component is basically:

Code:
	<Layout>
<LayoutPanel region="west" split style={{ width: "50%" }}>
<LinkButton />
<ProgressBar />
<DataGrid>
<GridColumn />
<GridColumn />
<GridColumn />
</DataGrid>
<Messager ref={ref => rfMsg = ref}></Messager>
</LayoutPanel>
<LayoutPanel region="center" >
<LinkButton />
<iframe />
</LayoutPanel>
</Layout>

I have a nearly identical path that does not get an error, only difference is there's no LinkButtons and on the grid I'm using "onSelectionChange" and "onRowDblClick" on the one that errors, but only "onRowClick" on the one does not error.
131  General Category / EasyUI for React / title/tooltip on LinkButton? on: September 18, 2019, 08:52:51 AM
any way to get the title property on the resulting <a>? "title=" doesn't do it.  is using <ToolTip> around it the only way?
132  General Category / EasyUI for React / Re: GridColumn cellCss not taking effect on: September 18, 2019, 08:37:41 AM
I know I can do a render to apply formatting.

so what's the purpose of cellCss if so many things don't trickle down?
133  General Category / EasyUI for React / GridColumn cellCss not taking effect on: September 16, 2019, 02:37:05 PM
the style ends up on the <td>, but there's a <div class="datagrid-cell"> inside that and the td's style does not override anything in the datagrid-cell class.  specifically, font-size and word-wrap.
134  General Category / EasyUI for React / Re: any way to override the filter match so it applies to the rendered cell? on: September 16, 2019, 07:58:06 AM
what does extOperators get assigned to?   this is the part that's not clear to me, how do I get those operators into the scope of the grid and column?  docs are completely missing on this.
135  General Category / EasyUI for React / [Solved]any way to override the filter match so it applies to the rendered cell? on: September 13, 2019, 01:12:23 PM
I have formatted date cell in a DataGrid, and the filter is applying as a string match on the date object in my data instead of the formatted output.

example:  data has 2019-04-10T00:00:00.000Z, cell show 4/10/2019.  a search for 4/10 has no results, but 4-10 does.

Pages: 1 ... 7 8 [9] 10 11 ... 15
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!