how to force the refresh everytime when click the menu - react-admin

im new to coding/react-admin and english
im trying to make Datagrid column looks better, so I tried to use headerClassName to change width.
and the problem is styles(width) are won't change until I refresh(F5) I don't know why tho.
so what am i missing or is there way to refresh the page when change the menu?

Related

vb.net: keep form always keep back and never got font by click

I want to make a desktop item manager program using vb.net.
I hope to create a form there and use the menus etc. to make the desktop icons work.
You want to set the form to always be behind the other windows. Like a widget.
How to do this?

Extjs 4 Can we have Grid with Combo always on i.e. without clicking on cell and in Editor show combo

I am using Extjs 4.1.1
I want to show combo always in Grids perticular cell.
i.e. not on click editor will get on and show combo.
When page get's load always show with Grid with one cell with combo.
earlier I have used, "itscomponentcolumn" for this, want to know is there any other solution for this ?
I will explain with the help of images..
on page load we get Grid something like this.
and after cell click we get Grid with that particular cell with combo.i.e.
So I want, without click on cell always show combo on each cell of the "Light" Grid's column.
i.e on page load structure of Grid should be like
I hope I am able to explain my requirement.
Please suggest the possible way to achieve this.

Closing an XAML form

I am creating a windows 8 store application using vs2012.
I am tying to switch to another xaml form by click of a button but cannot do it.
I want the code to close or hide the current form and to switch over to new form .
Regards
If you are looking to wholesale replace the content then you can use the Frame.Navigate() method.
Frame rootFrame = Window.Current.Content as Frame;
rootFrame.Navigate(typeof(YourPageClass));
or simply
this.Frame.Navigate(typeof(YourPageClass));
remember that not every elemet has property hide or something like that. If you want to hide a grid with form or do a simillar thing you need to know the property that is responsible for visibility (in most cases it is Visibility and it is a bool).
The second thing is that you can be a newbie but if you want help make some effort and give us what you want
The third thing. If you want to change a page after click use Marc`s solution

Preventing CheckBoxList DataSource from rendering HTML

I am using a CheckBoxList in a VB.NET web project. The elements are pulled from a DataSource which is populated elsewhere in the system.
The problem is, if someone put in some raw HTML, the CheckBoxList seems to render it rather than assume plain text.
In this screenshot, for example, I entered hover here so now whenever you hover over that CheckBox, an alert window pops up. This seems like a potential for XSS and I would like to disable it altogether.
I have tried googling and searching SO for someway to disable HTML rendering such as this, but haven't found anything relevant, so my apologies if this already has been answered elsewhere.
Thanks!
After binding the datasource, you should be able to iterate through each of the Items in the CheckboxList and use System.Web.HttpServerUtility.HtmlEncode to update each item's Text property.

How to edit Expression Blend selected control part?

I am trying to edit a specific control part within a custom TabItem Template. In this case, it's the TemplateBottomSelected control part.
I'm having an issue where I cannot seem to view or edit any control parts within the template editor except the default TemplateTopSelected. Here's a screenshot of what I'm talking about:
Even though I'm selecting the "TemplateBottomSelected" grid, the only thing I can see is the template for the TemplateTopSelected item.
How the heck do I edit the other control parts within the template using the editor?
Thanks!
that's because these templates are either collapsed or the opacity of them is set to 0. :)
you can use the eye toggle button to only show the one you want to modify at design time, set the visibility to visible, do your changes, and reset it to collapsed.
please let me know if you need more info.