Dear Infragistics Gurus,
Good morning.
In relate to my prvevious post regarding RowEditTemplates. I would just like to ask if its possible to create a custom layout with the RowEditTemplate window that opens? Can I re-layout it and add some images? I am actually thinking of adding some images related to the description information being editted by the user. Can it be done using the RowEditTemplate or another option is use the iDialog window and do some of the CRUD operations using the iDialog?
Thanks in advance Infragistic Gurus :)
Hello Infragistic Gurus,
Would like to follow up on my below inquiry. Can anyone provide me a working example?
Thanks in advance and good day to everyone.
More power to Infragistics while less coding to developers :D
regards,almond
Much thanks for the help Elena. I am still having a hard time with regards to my problem. Would it be too much if I could request for a working sample with the layout including the image.
Thanks in advance :)
Hello Almond ,
If you handle the RowEditDialogContentsREndered event you can customize this dialog the way you want:
$(document).delegate("#grid1", "iggridupdatingroweditdialogcontentsrendered", function (evt, ui) {
//return the triggered event
evt;
// get reference to igGridUpdating widget
ui.owner;
// get reference to the row edit dialog DOM element
ui.dialogElement;
// get reference to the row edit dialog titlebar
ui.dialogElement.children('.ui-dialog-titlebar');
// get reference to the row edit dialog content element
ui.dialogElement.children('.ui-dialog-content').css("marginLeft", "-100");
});
As you can see from the snippet that I have provided, in this element you can get all of the elements in this dialog. Then you can use jQuery append and prepend functions in order to add some additional elements and style them in order to suit your design:
http://api.jquery.com/append/
http://api.jquery.com/prepend/
Please notice that even when you make changes to the dom of the dialog you should keep the tr tags where we place the input elements for our editors. This way no mater of the customizations that you make to the design our igGrid will be able to map the data that you enter to the current row.
For additional reference you could use the following link from our documentation which discusses the properties that we have exposed related to the edit dialog:
http://help.infragistics.com/Help/NetAdvantage/jQuery/2012.2/CLR4.0/html/igGrid_Updating_RowEditTemplate.html
Please let me know if you need any additional information on this matter.
Hello Infragistics Gurus.
Can anyone help me with my inquiry above?
regards,
almond
Dear Elena,
Much thanks for your reply. We'll try and check if i can successfully implement your suggestion.
I also have one more question, can the image below be implemented using the rowedittemplate features?
Thanks in advance and hope you can help me with regarding the customizing the rowedittemplate :)