I have seen these options on some of the examples but I have no idea what they are?
.batch-options { color: #656565; font-size: 12px; margin: 5px 0; padding: 5px; border: 1px solid #000000; font-weight:bold; }
.batch-options > .batch-info { font-style: italic; margin: 5px 20px; font-weight: normal; }
.batch-buttons { float: right; margin: 5px 0 5px 5px; }
My ultimate goal is to get the delete button to work the way I have seen it in the demos. But man am I having issues. My thought was that I am missing a css somewhere.
Hello Abby,
Thank you for posting in our forum.
It appears that they’re some additional styles used for other elements on the page like buttons, checkboxes and divs that are not part of the grid.
For example in this sample:
http://es.infragistics.com/products/aspnet/sample/data-grid/batch-updating
The styles are applied to the div with the checkbox on the top:
<div class="batch-options">
<asp:CheckBox ID="chkBatch" runat="server" Checked="true"
AutoPostBack="true" OnCheckedChanged="chkBatch_CheckedChanged"/>
<asp:Literal ID="ltrEnableBatch" runat="server" Text="<%$ Resources:WebDataGrid, BatchUpdatingEnable %>"></asp:Literal>
<div ID="tbBatchInfo" runat="server" class="batch-info">
<asp:Literal ID="ltrBatchInfo" runat="server" Text="<%$ Resources:WebDataGrid, BatchUpdatingEnabledDescription %>"></asp:Literal>
</div>
And also for the buttons on the bottom:
<asp:Button ID="btnSaveData" runat="server" CssClass="batch-buttons"
Text="<%$Resources:WebDataGrid , lbl_BatchUpdateSaveData %>" />
<asp:Button ID="btnDefaultData" runat="server" CssClass="batch-buttons"
Text="<%$Resources:WebDataGrid , lbl_DefaultBatchData %>" />
<div class="clear"></div>
Those classes simply provide some additional styling for those elements.
Could you describe in more details what behavior you would like to achieve in the grid?
It would be helpful if you could attach a sample that reproduces the issue you have so that I may look into it.
I’m looking forward to your reply.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://es.infragistics.com/support
When I look at the examples on this page..
I see options for deleted rows that have not been committed to the server. This might start trickling into another issue I posted yesterday. I am going from 13.1 dlls to the 14.1 dlls. I am trying to convert a webdatadrid to start using BatchUpdating. (Because I having major issues with speed.) So of this conversion is going well. The one major issue is the ability to delete uncommitted rows.
Before enabling the batch update, when you inserted a row it went to server and an unbound column would show a delete button. Now that I have unbound columns, it doesn't automatically display my delete button. Which is odd since its essentially a templatedatafield in the list of columns. But anyway, since that wasn't working I need to find a way to delete an uncommitted datarow from the grid.
I can not get this option to work -
http://es.infragistics.com/community/forums/p/89762/443447.aspx#443447
So I tried looking at the undo button. That works, but I want it to change the row somehow when I click delete on the keyboard. Some of the demos I saw changes the text to have the line through effect on it. But I can not get that part to fully work either. Which led me to think I am missing a css class or something?
Hopefully this rambling makes some sense to someone.
Thoughts?
If you delete a row and the changes are not committed to the server yet, then an additional class is applied for the deleted row: igg_DeletedRow.
If you’re using an older version of the styles in the ig_res folder of your application, it is possible that the related classes are missing. You can check in the ig_dataGrid.css file for the style set you’re currently using.
If the classes are missing (igg_DeletedRow , igg_DeletedRow td, igg_DeletedRow th) then you can remove the style set from the ig_res folder and using the “Infragistics Application Styling Configuration Tool” for 14.1 re-add the style set. This will add the new styles for version 14.1. For more details on how the styling configuration tool works you can check our documentation :
http://help.infragistics.com/Doc/ASPNET/2014.1/CLR4.0/?page=Web_NetAdvantage_Application_Styling_Configuration_Tool.html
Let me know if that helps.
Thanks!!. This was a great help in the right direction.