On 05/07/12 01:46, ajung wrote:
What is the real usecase for storing empty data rows?

what is the point on answering a question with another question that clarifies nothing?

the variable is there, so obviously there is a use case not only for Alejandro, but for the authors of the product:

from https://github.com/collective/Products.DataGridField/blob/master/Products/DataGridField/DataGridField.py#L162

    # create sortable tuples
    if (not self.allow_empty_rows) and empty:
        logger.debug("Filtered out an empty row")
    else:
        logger.debug("Appending cleaned row:" + str(val))
        cleaned.append((order, val.copy()))

documentation may not be clear on this.

regards

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to