i'm using version 9.2 and when i use the cell editors such as the dropdownlist or a custom one where i use your webCurrency control the controls don't line up with the grid cells they appear to be 2-3 pixel down and to the right... any thoughts on how i can adjust this?
Infragistics.WebUI.UltraWebGrid.ColumnType.DropDownList
Infragistics.WebUI.UltraWebGrid.ColumnType.Custom
Hello Greg,
I test the described behavior with the below online samples:
https://es.infragistics.com/samples/aspnet/data-grid/editing-rows-basic-features
https://es.infragistics.com/samples/aspnet/data-grid/editing-editor-providers
I didn't notice any suspicious appearance.
Can you please let me know what are the circumstances leading this issue to happen?
Hope hearing from you.
I know its related to our page but i can't find it. I'm fairly certain location of the cells is off because of some css inheritance i just can't determine where. is there anyway you can describe how you determine the location of the editor control when you display it?
Please feel free to ask if you need further assistance regarding this.
Here is an example of what it looks like... is there a client side event that i can use to capture the editor control after it is displayed and move it myself... in this example i'm not using any custom controls just the default edit box that the grid uses. What is the name of this control when it is created?
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
If I can see clear from the picture you are using WebTextEdit control.
In this case I can recommend you to use the client event Focus in order to operate with the Style of the event element.
Below there is a example demonstrating this
<igtbl:UltraGridColumn BaseColumnName="CategoryName" IsBound="True" Key="CategoryName" Type="Custom"
EditorControlID="WebTextEdit1">
<igtxt:WebTextEdit ID="WebTextEdit1" runat="server">
<ClientSideEvents Focus="WebTextEdit1_Focus" />
</igtxt:WebTextEdit>
function WebTextEdit1_Focus(oEdit, text, oEvent){
//Add code to handle your event here.
oEvent.srcElement.style.top = "90px";
oEvent.srcElement.style.left = "90px";
}
Let me know if you need more assistance.
ok instead of trying to find the name of default editor control i should use a custom control and mange its client side events. I'll give that a try thanks